On Sun, 2 Nov 2008 at 01:33, jonathan augenstine wrote:
>  I am running into a problem loading my custom xml scenario.  When I issue
>  the following command:
>
>  sipp 127.0.0.1 -m 1 -sf myscenario.xml
>
>  I get the following response:
>
>  2008-11-02 01:16:28: Unable to load or parse 'myscenario.xml' xml scenario
>  file.

You will get that error message if the scenario file does not exist, so
first check to make sure you are referring to it by the correct path.
You will also get it if the file header is invalid.  Once you've got
a correct header, then if there are syntax errors in the file you will
get a more specific error message telling you what is wrong with the
scenario.

IMO, 'file not found' and 'header invalid' should be two separate error
messages, and those should be the messages, rather than the confusing
single message we've got now :)

--David

PS: I determined the above by experiment using v3.1, and the header that
worked for me was:

      <?xml version="1.0" encoding="ISO-8859-1" ?>


-------------------------------------------------------------------------
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