0
votes

I recorded the log in and log out of the application in Jmeter and while Run is clicked, the following message

"//EX[2,1,["java.lang.IllegalArgumentException/1755012560","Invalid session"],0,7]"

is displayed in the Response data blog while log out or closing the application HTTP request is compiled. Is there any way to compile with out getting this message.

2
share screenshot with more details of your script. - Helping Hands

2 Answers

1
votes

My expectation is that you're missing HTTP Cookie Manager which handles cookie-based authentication and maintains session information.

If adding HTTP Cookie Manager to your test plan doesn't help - record the sametest several times and mention any changes in recorded requests. If they are - you need to perform correlation - the process of extracting dynamic mandatory parameters from previous response and adding them to next request. Basing on your response nature the choices can be in:

1
votes

According to your response, it seems you are testing a GWT RPC application:

Load Testing and scripting GWTRPC is not easy and almost impossible with Core JMeter only as: - Decoding GWTRPC response is difficult whenever you need to extract some info from response. - Making part of the request Variable is very difficult

If you do not variabilize, as with any other protocol, your load test will not be realistic.

You need for this a plugin:

Disclaimer : My company distributes this solution.