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:
<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.