Currently, there is no way to instruct the play_pcap to loop... However once I could loop a play_pcap using this piece of xml code. I'm not sure if you can copy and paste it and it will work right away, cause actually I never used it in my load tests... It was in one of my old scripts that I keep for reference....
<Global variables="speech_continue" /> <Global variables="counter" /> <!-- ##### Establish your call ##### --> <!-- Play g711a.pcap 5 times --> <label id="call"/> <nop> <action> <exec play_pcap_audio="pcap/g711a.pcap"/> <warning message="playing"/> </action> </nop> <pause milliseconds="12000"/> <nop> <action> <test assign_to="speech_continue" variable="counter" compare="less_than" value="5" /> <warning message="speech_continue=[$speech_continue], counter=[$counter]"/> </action> </nop> <nop> <action> <add assign_to="counter" value="1" /> </action> </nop> <nop next="call" test="speech_continue"> </nop> <!-- ##### Terminate your call ##### --> On Thu, Oct 31, 2013 at 7:20 AM, Azer, Michael (Michael) **CTR** < ma...@avaya.com> wrote: > Hi, > > > > My name is Michael and and I am using SIPp to test voice and video at my > company. > > I would like to thank you for the powerful free SIPp application. > > > > I am using SIPp to open Video and voice call and to inject pcap files > (Video and Vocie) : > > > > *PCAP play* commands (specified using play_pcap_audio / play_pcap_video > attributes) allow you to send a pre-recorded RTP stream using the pcap > library <http://www.tcpdump.org/pcap3_man.html>. > > Choose *play_pcap_audio* to send the pre-recorded RTP stream using the > "m=audio" SIP/SDP line port as a base for the replay. > > Choose *play_pcap_video* to send the pre-recorded RTP stream using the > "m=video" SIP/SDP line port as a base. > > The play_pcap_audio/video command has the following format: > play_pcap_audio="[file_to_play]" with: > > - file_to_play: the pre-recorded pcap file to play > > > > Following your documentation I can play my video/Audio file once only , > and I need the capability to run it with LOOP mode to test Load over my > system. > > > > I checked and found that you have this option with rtp stream : > > <exec rtp_stream="[filename],[loopcount],[payloadtype]" /> > > > > > > > > Do you know if I can run pcap with loop mode or there is any plan to do it > in the future? > > > > > > Best Regards, > > *Michael Azer* > > [image: Description: Description: Description: Description: Description: > Description: rad] > > +972.3.767.9372 office | +972.549701544 mobile | www.radvision.com > > > > > > > > > > > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Sipp-users mailing list > Sipp-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sipp-users > >
<<image001.jpg>>
------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users