Hi all,
I m using regular expression to verify whether particular number is present
in "To" header field or not.
The number I m providing from CSV file to the regular expression.
But that number is not getting loaded into the variable of regular
expression for verification.
Code is written below:
<recv request="INVITE" optional="false">
<action>
<assign assign_to="1" value="[field0 file="input.csv"]" />
<log message="value of variable is 1 is : [$1]"/>
</action>
<action>
<ereg regexp="[$1]" search_in="hdr" header="To:" check_it="true"
assign_to="6" />
<log message="value of variable 6 is: [$6]"/>
</action>
</recv>
The command which I m running is:
./sipp -sf <file name.xml> <ip:port> -r 1 -rp 5s -inf <file name.csv>
-trace_err -trace_logs
Here Variable $1 is not getting loaded with any value from CSV file
Please help me out from this issue
Thanks and Regards
SUMEET
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users