Unanswered question

When recording a virtual user, during a ajax call, does the proxy timeout?

When recording in Neoload 5.1, ajax calls seems to timeout after 1 minute. Is there a configuration for this timeout?

Equipe C.
Equipe C.

Equipe C.

Level
0
25 / 100
points

Answers

During the recording NeoLoad has a one minute timeout if a request has been sent and no response from the server after that time.

Is it a normal behavior to not get any response after so long time?

Note that this timeout is not specific to Ajax call but all the requests.

If needed you can increase that timeout but you have to make sure that you will really get a response from the server.

Here is the procedure:

  1. Stop NeoLoad
  2. Edit <install_dir>\conf\controller.properties
  3. Go to [Recorder] section
  4. Increase the timeout value for this key (in milliseconds):

    controller.recorder.so.timeout=60000

  5. Save
  6. Restart NeoLoad
  7. Try again your recording

 

Equipe C.
Equipe C.

Equipe C.

Level
0
25 / 100
points

Thanks Nouredine for your answer but that does not work. After 1 minutes my call is still failling. Any other idea?

How much have you increased that value?

Plus if it still does not work then maybe for any reason it's the connection that is taking time. Try to increase the other keys like this two ones still under [Recorder] section:

controller.recorder.client.so.timeout=600
controller.recorder.connection.timeout=600000

I added an extra zero to the default values.

Also when you record in NeoLoad do you see your AJAX call recorded. If yes, what is the server response content stored in NeoLoad?

Equipe C.
Equipe C.

Equipe C.

Level
0
25 / 100
points

Still the same timeout with theses values:

[Recorder]
controller.recorder.ssl.port=8091
controller.recorder.so.timeout=600000
controller.recorder.client.so.timeout=600
controller.recorder.connection.timeout=600000
controller.recorder.pause=1000
controller.recorder.pause.unexpected=500
controller.recorder.referrer.search.page.number=7
controller.recorder.resource.max.delay=15000
controller.recorder.redirect.max.delay=3000
controller.recorder.max.connections.per.host=8
controller.recorder.rtmp.resolve.ip.addresses=false

Any other ideas?