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

Unable to use an extracted variable?

$
0
0

I have added correlation to a Websocket script to pull back all matching occurrences of a variable called alarms). When the script runs, I get multiple successful extracted variables – e.g. alarms_matchNR, Alarms_rand, alarms_1, alarms_2, etc. Furthermore, as it the websockets protocol I get multiple alarm responses across multiple channels. So, I may get several responses for alarm_rand or alarms_1, alarms_2, etc which all contain different values.

The problem is when I try to use the extracted variables in a URL either as ${alarms_n} or even as ${alarms_1, etc}, later on the script , it fails.

Neoload literally passes it as alarm_n but does not pass the captured variable. I’ve used variable picker to select the alarms_n. Interestingly, Alarms_rand passes OK but not alarms_n.

What am I missing that is stopping me from using the extracted value as alarms_n?

Hope this makes sense

screenshots in attachment.


Viewing all articles
Browse latest Browse all 2283

Trending Articles



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