Hi Michael,
three possibilities:
* a typo in one of the occurrences (not applicable if you have copy-pasted all occurrences here)
* an invisible character in one of the occurrences due to some joke of your text editor (delete all of them including their surrounding "" or [] and type then again)
* a missing /, > or " somewhere else in the scenario (remove all three lines and run the scenario without them)
Other than that, you do not need the References statement at all since you both capture the variable and use it, which makes more than a single occurrence.
Pavel Šindelka
Dne 29. 9. 2016 12:01 dopoledne napsal uživatel "Herman, Michael" <michael.her...@asurion.com>:
I am working on setting up testing between two SIPP servers, one as the UAC and one as the UAS. We use some non-standard headers that I want the UAS to capture and use in subsequent responses. In my receive block, I have added
<ereg regexp=".*" search_in="hdr" header="Cisco-Gucid:" assign_to="ciscogucid" />
After the receive block, I have added
<Reference variables="ciscogucid”/>
And later, in the 200Ok response, I have
Cisco-Gucid: [$ciscogucid]
When I run this scenario, I receive an error, "2016-09-28 13:17:07.855907 1475086627.855907: Variable $ciscogucid is referenced 1 times!”
Any ideas why?
Thanks.
--Michael HermanSenior Principal Architect, Telephony
voice (615) 445-3345 mobile (615) 473-7793Asurion I 648 Grassmere Park Nashville, TN 37211www.asurion.com | Twitter | Facebook
This message (including any attachments) contains confidential and/or privileged information. It is intended for a specific individual and purpose and is protected by law. If you are not the intended recipient, please notify the sender immediately and delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
------------------------------------------------------------------------------
_______________________________________________ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users