Working of the top of my head here: did you try 
[authentication username="[field0]" password="[field0]"]

I remember we implemented in IMS Bench SIPp the way you had it below (no 
quotes) but when it got later implemented in mainstream SIPp, there was a small 
difference, probably quotes.

-David

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Cattaneo
Sent: mardi 12 août 2008 22:52
To: ims.asuser ims.asuser
Cc: [email protected]
Subject: Re: [Sipp-users] SIPp says: No 'scenario' section in xml scenariofile

Authentication using CSV does not, in fact, work as I hoped it might.

When I use the following:
[authentication username=[field0] password=[field0]]

I see this on Wireshark (6002 is the value for field0):
6002[authentication username=\030\214\300\277\230\242\325 password=6002]

Where I expect a working authentication line.  If I hard code the values it 
works properly. I have tried this with both my existing SIPp and the latest 
stable release, both exhibited the same bad behaviour:
[EMAIL PROTECTED] sipp]$ sipp -v

 SIPp v2.0-TLS-PCAP, version 20071128, built Dec 27 2007, 17:53:26.

 [EMAIL PROTECTED] sipp.svn]$ ./sipp -v

 SIPp v3.1-TLS-PCAP, version unknown, built Aug 12 2008, 13:37:28.


Unless I'm doing it wrong, it looks like I will have to specify these values 
from the command line as a work-around.

Cheers,

S

________________________________________
From: ims.asuser ims.asuser [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 12, 2008 12:50 PM
To: Stephen Cattaneo
Cc: [email protected]
Subject: Re: [Sipp-users] SIPp says: No 'scenario' section in xml scenario file

Hi,
 
I had the same problem on my ubuntu. You just have to let an emply line  
between the DOCTYPE and scenario tag (see below).
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
 
<scenario name="NOTIFY signal listener">
This is really not logic....I spent several hours before finding it out :)
 
Bonus question:
yes, it is possible
 
Cheers,
Khaldon
2008/8/12 Stephen Cattaneo <[EMAIL PROTECTED]>
Hi all,

Upon attempted execution of my scenario file SIPp says: "No 'scenario'
section in xml scenario file."

I can not figure out why SIPp is telling me this.  I've been staring @
this for a while and fear some silly mistake is hampering my progress.

Bonus question- Is it possible to use a CSV file for user/pass
authentication?
Example: [authentication username=[field0] password=[field0]]

-----
[EMAIL PROTECTED] ~]$ sipp -m 1 -i 192.168.14.9 -sf
./lib/sipp/register_pri.xml -inf ./lib/sipp/pri_wan.csv 192.168.13.3
2008-08-12      12:19:19:192    1218568759.192952: No 'scenario' section
in xml scenario file.
[EMAIL PROTECTED] ~]$ sipp -v

 SIPp v2.0-TLS-PCAP, version 20071128, built Dec 27 2007, 17:53:26.

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as
 published by the Free Software Foundation; either version 2 of
 the License, or (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public
 License along with this program; if not, write to the
 Free Software Foundation, Inc.,
 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA

 Author: see source files.
----

Attached are my CSV and XML files.




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
---------------------------------------------------------------------
Intel Corporation NV/SA
Rond point Schuman 6, B-1040 Brussels
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to