-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: xml script must contain one of 'uac' or 'uas': #39
Comments
Hi @access2praveen. This error is saying you must have one of |
Thanks, Upon prefixing scenario files with UAC, I got rid of this error , However i am seeing below error
My script is written as below import pysipp scen = pysipp.scenario() |
Hey @access2praveen sorry about the delay getting back to you. If you're trying to load a directory of For this code: scen = pysipp.scenario()
scen = pysipp.scenario(dirpath='/home/voiceqa/sipp-3.5.1/AMR_Testing/AMR',proxyaddr=('10.204.66.84', 5080))
scen()
pysipp.log_to_stderr('DEBUG') Before you call |
I m seeing below message
|
Any idea about this error ? |
@access2praveen I can't really diagnose this well without seeing the full logging that You have a lot of agents in this scenario so likely the problem has to do with configuring which client should make requests to which server. You'd have to give a better explanation of what this scenario is doing. Likely it's a matter of pointing all the clients to request the |
I would say iterate through the agents on |
@access2praveen actually this might be the bug #36! There was an open PR by @y-luis but it seems to have not gotten merged. |
@access2praveen try out #46. My initial tests seem to fix this. |
Hello tgoodlet The below script worked for me to execute single scenario file But I want to execute all the scenarios in AMR-WB directory sequentially Please help me to tweak my script for the same Thanks |
@access2praveen what is the error you get when trying to exec sequentially? |
Hi i got the same issue as described above. If I run the above mention command and receive the following error message.
My py script1 is the following:
My main goal would be to change the transport protocol for uas & uac to tcp and change the source and local port ip? Could you please tell me how I can do this. Script2:
Output Script2:
the scen funktion is loading both scenario files correctly but I don't know how I can replace the args values like ("-i"; "-m"; "-log_file") in the cmd command to customize my sipp request. Would be assume if someone could help me with that. Thanks |
@Kallows I was able to do the following to override the defaults. sipp_options={ |
I am getting below error if i am trying to execute all my sipp xml files in a directory
Traceback (most recent call last): File "sipp.py", line 5, in <module> scen = pysipp.scenario(dirpath='/home/voiceqa/sipp-3.5.1/AMR_Testing/AMR',proxyaddr=('10.204.66.84', 5080)) File "/usr/local/lib/python3.5/dist-packages/pysipp/__init__.py", line 98, in scenario **scenkwargs) File "/usr/local/lib/python3.5/dist-packages/pysipp/__init__.py", line 72, in walk .format(xml) ValueError: xml script must contain one of 'uac' or 'uas': /home/voiceqa/sipp-3.5.1/AMR_Testing/AMR/AMR_oct_modeset_1.xml
My python code look as below
import pysipp
uas = pysipp.server(srcaddr=('10.204.66.84', 5080))
uac = pysipp.client(destaddr=uas.srcaddr)
scen = pysipp.scenario()
scen = pysipp.scenario(dirpath='/home/voiceqa/sipp-3.5.1/AMR_Testing/AMR',proxyaddr=('10.204.66.84', 5080))
Please help me how to get rid of this problem
The text was updated successfully, but these errors were encountered: