Hello Evgeny,

Thanks for the reply. You are right SIPp doesn't allow to perform regex 
validation based on patterns taken from CSV.

Can we do this in any other way, like lookup or something?

Please reply if anyone know about this.

Thanks
-Sumeet

From: Evgeny Miloslavsky [mailto:emiloslav...@juniper.net]
Sent: Wednesday, September 09, 2009 11:20 AM
To: Sumeet Bhardwaj; sipp-users@lists.sourceforge.net
Subject: RE: [Sipp-users] Need to validate response for performance

Hi
As far as I know SIPp does not allow perform regex validation based on patterns 
taken from csv. But please advice with more experienced  users

Regards,
Evgeny Miloslavsky
Systest Engineer
Juniper Networks Solutions Israel LTD.
Office: 972-9-9712355
Office: 972-74-7170072
________________________________
From: Sumeet Bhardwaj [mailto:sumeet_bhard...@persistent.co.in]
Sent: Wednesday, September 09, 2009 8:42 AM
To: sipp-users@lists.sourceforge.net
Subject: [Sipp-users] Need to validate response for performance

Hello All,

I need to validate value of some header fields in the response using CSV file 
while running performance test.
I am sending INVITE request with some numbers extracted from CSV file(Like 
Telephone number in the From header filed). I also have numbers in the same CSV 
file which can be use to validated with the received response.

I don't know how to extract those columns from CSV file and use those in the 
regular expression of response to validate?

Below is example:

INVITE request:---

<send start_txn="invite" retrans="500">
<![CDATA[
INVITE sip:5...@proxy.com;user=phone SIP/2.0
To: <sip:5...@proxy.com;user=phone>
From:<sip:[fiel...@[field1];user=phone>;tag=[call_number]
Call-ID:[call_id]
CSeq: [cseq] INVITE
Max-Forwards: 68
Timestamp: 54
Content-Length:[len]
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Route: <sip:aaa.proxy.com;lr;call=orig>
Contact: <sip:[fiel...@[local_ip]:[local_port];transport=[transport]>
Content-Type: application/sdp
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, INFO, REGISTER, PRACK, UPDATE, 
MESSAGE, REFER, NOTIFY, PING
User-Agent: ZX-I600-FXS0200F
Session-Expires: 120
Min-SE: 120

v=0
o=ZTE-IAD 50376 50376 IN IP4 10.78.246.36
s=Phone Call via ZXSS10 IAD
c=IN IP4 10.78.246.36
t=0 0
m=audio 57938 RTP/AVP 0 8 18 4 101 96
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=rtpmap:96 red/8000
a=fmtp:96 101

]]>

</send>



<recv response="183" optional="false" rtd="true" crlf="true" timeout="10000" 
response_txn="invite">

Here I want to extract numbers from filed 2 and filed 3 of CSV file and use 
those in the regular expression to validate it. For every call the value of 
filed 2 and 3 will get changed.

</recv>

Please reply if anyone know how to do this in SIPp.

Thanks
-Sumeet


DISCLAIMER ========== This e-mail may contain privileged and confidential 
information which is the property of Persistent Systems Ltd. It is intended 
only for the use of the individual or entity to which it is addressed. If you 
are not the intended recipient, you are not authorized to read, retain, copy, 
print, distribute or use this message. If you have received this communication 
in error, please notify the sender and delete all copies of this message. 
Persistent Systems Ltd. does not accept any liability for virus infected mails.

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to