Error: “Server returned error for message #1 : description=”AMF call returned an error, described in XML seen in extended log” while replaying a FLEX protocol script

Error: "Server returned error for message #1 : description="AMF call returned an error, described in XML seen in extended log" while replaying a FLEX protocol script

While replaying a FLEX script in a load test with two Vusers, the second Vuser replay failed with the following errors:

login.c(<nr>): Error: Server returned error for message #1 : description="AMF call returned an error, described in XML seen in extended log" [MsgId: MERR-200987]

The XML returned by the server for the failing in the extended replay log contained:

<faultCode>Server.Processing.DuplicateSessionDetected</faultCode>
<faultString>Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly.</faultString>

While the FLEX application server indicated an issue with cookies and the Flex script "DSId" value was correlated, further testing did not confirm the actual cookie issue present.

There is a possibility that the error being returned does not properly describe the actual failure.

A workaround was identified which was to create separate groups in the load test and run a single Vuser instance in each group. When this approach was used the correlated FLEX script replayed successfully in all groups and the load test was completed.

Advertisements

5 thoughts on “Error: “Server returned error for message #1 : description=”AMF call returned an error, described in XML seen in extended log” while replaying a FLEX protocol script

  1. siva

    Hi – How to create single Vuser instance for each group? Could you please tell me the steps to create this and how many Vusers you have allocated in each group?

    Your help is very much appreciated.

    Reply
    1. Rajani

      Hi,
      I’m also having similar issue. I’ve correlated DSID value and successfully executed test with 10 users for 30 iterations but when executing with 25 users I’m getting this error: Server returned error for message #1 : “AMF call returned an error, described in XML seen in extended log”

      Please let me know if any one resolved this kind of issue successfully? If you do please tell me what steps to follow in detail? Appreciate your help in advance!

      Reply
  2. Tapan

    I actually ran into a similar problem. My application was using one DSID from begining and at a place it needs to send a request to open a form. This request sends a req to get new DSID. This new DSID is used all throughout until the form is used. The moment the form is closed the Older DSID was being used.
    I have captured all possible values that can be correlated still it was failing with the same error. I have tried lot of other possible ways to find out if I am missing anything. All of no use. There was actually nothing left for correlation.
    My next step was to get a different error message than the one I am getting. I decided to send random DSID so that atleast app should reject the request with a different error. But even this had same response.

    I have observed that the error response had 3 different values sent, out of which 2 were DISD and ClientID that my request was sending. I was not sure of the third ID. I thought of giving it a try and send the same request with the captured 3rd value as the DSID for this request. I did not believe myself that it actually worked.

    I understand that this is definitely not the solution but..

    Reply
  3. Pavan Patke

    Hello. I’m getting the same error. May I know which method have you used to correlater DSID? Have you used auto correlation? Please help me. I have just parameterised using “Random number” and it was working fine earlier but I’m getting this error now. Please help.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s