JMeter regex extractor forEach controller

后端 未结 4 476
广开言路
广开言路 2021-01-03 08:08

I\'m creating some tests with JMeter, the situation is very simple, I have a search page with a list of results, and I have to retrieve from this results some values to use

4条回答
  •  执笔经年
    2021-01-03 08:55

    ...Just for collection.
    See also this post for another implementation (case without using ForEach Controller):

    ThreadGroup 
        HttpSampler 
            Regex Extractor (variableName = links) 
        WhileController(${__javaScript(${C} < ${links_matchNr})}) 
            HTTPSampler use ${__V(links_${C})} to access the current result 
            Counter (start=1, increment=1, maximum=${links_matchNr}, referenceName=C)
    

提交回复
热议问题