Posted At : October 8, 2007 10:19 PM
JMeter is a great load testing application but it can be a bit tricky to when you are learning it.
For the particular testing I needed to get it to do the following:
I pretty quickly got everything working with some regex's to extract the userid and testid as required and my test case looked like the picture above.
Everything was working except the final submission of the test, which was failing as the regex variable was always using the default value, despite the fact that is was working for the previous step.
It turns out that the regex needed to be nested inside the request it was referring to or it would be called after every request, which in most cases would return the default value as the regex wouldn't match.
Once I put the regex's inside the requests the were not constantly being reset and everything worked a treat.
Hope it helps.
Mark
0 Comments