You can't use keywords in the regexp action. Charles
"Sumeet Bhardwaj" <sumeet_bhard...@persistent.co.in> wrote on 12/19/2008 05:22:16 AM: > Hi all, > > I am trying to input value from CSV into the scenario file using ? > ?inf <cvs file name> ? command. But SIPp is not extracting value > from csv file. > > Below are the files and command: > > CVS file: > 1. validate.csv > SEQUENTIAL > 5111313001 > > Scenario file: > 2. SIPp server file: terminator_4GEE_B2BUA_CR1_IAM_0001.xml > > <recv request="INVITE" optional="false" > > > <action> > <ereg regexp=".*" search_in="hdr" header="CSeq:" check_it="true" > assign_to="2" /> > <ereg regexp=".*" search_in="hdr" header="Via:" check_it="true" > assign_to="1" /> > <ereg regexp="[field0 line=1]" search_in="hdr" header="P-Asserted- > Identity:" check_it="true" assign_to="5" /> > </action> > </recv> > > > Command : /sipp -sf terminator_4GEE_B2BUA_CR1_IAM_0001.xml -p 4449 > -inf validate.csv -nd -trace_msg -trace_err -trace_logs > > SIPp is not injecting value ?5111313001? from validate.csv into > terminator_4GEE_B2BUA_CR1_IAM_0001.xml. > > I have tried following parameters in scenario file: > > ?[field0]? è Value of [filed0] shows ?i? in the log file. > ? [filed0] ? è Not working > "[field0 line=1]" è Not working > \?[field0]\? è SIPp is showing ?Segmentation Fault (core dumped)? error > > Note: Used SIPp 3.1 Version > > Please help me to resolve this issue. > > Thanks > -Sumeet > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Sipp-users mailing list > Sipp-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sipp-users ------------------------------------------------------------------------------ _______________________________________________ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users