Ashley
Ashley

Reputation: 157

Extract value and add it in HTTP Request name

I am trying to extract a value from one HTTP responseand add it in another HTTP Request name. It works, but when I run many threads, for example, 100 or more, the regex value is not displayed in the HTTP Request name. Instead it displays the default value. If the thread number is 100, then 10-15 are with the default value. what could be the reason?

enter image description here

regex

Debug postprocessor

Upvotes: 2

Views: 333

Answers (1)

Naveen Kumar R B
Naveen Kumar R B

Reputation: 6398

It means that the server does not support 100 users load as it sending some other response (may by 5** HTTP response codes). save the results in .csv/.jtl file and check whether these error codes are observed.

If your script is working for a few users, but not working when load is increased, then it is the fault at server side where its resources might have touched the bottlenecks.

I suggest the following steps to try:

  1. Increase the Heap space for JMeter (which is a Java application). default value is 512MB. increase the value in jmeter.bat.

    set HEAP=-Xms1024m -Xmx2048m

  2. Run the JMeter in non-GUI mode to save the resources.

  3. while running the load testing using non-gui mode, specify -l results.jtl to save the results. once the test is completed, check for status codes under responseCode column.

Upvotes: 1

Related Questions