Quantcast
Channel: [Q&A - FAQ Neotys] Last questions
Viewing all articles
Browse latest Browse all 2283

Websocket Message Mapping

$
0
0

Hi,

I am trying to evaluate Neoload for our application which uses websockets. I’m using Neoload Free Edition 7.0 and the trial license I have has WebSocket & Push module.

I have recorded and successfully played back a websockets script and I can see that the replay has successfully updated the record that I used initially for my 1st recording. However I now wish to be able to capture and updated random records rather than the hard coded one that I used for recording. Normally I would use correlation (using the regular expression – “AlarmId”:”(.*?)”) to capture the values returned and use them.

However, I can see that the recorded responses from the WebSocket channel shows multiple responses – only some of which contain the records that I need. Reading the manual I understand that as websockets is asynchronous there is no concept of single request/response and that I may need to implement message mapping to do what I need.

I can see references in the Neoload documentation toward messaging mapping but I am unable to implement it correctly. Are there step by step instruction on how to implement message mapping for websockets available?


Viewing all articles
Browse latest Browse all 2283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>