Skip to content
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

Not able to add new field to command.py #91

Open
archanayadav1408 opened this issue Apr 19, 2023 · 1 comment
Open

Not able to add new field to command.py #91

archanayadav1408 opened this issue Apr 19, 2023 · 1 comment

Comments

@archanayadav1408
Copy link

For my use case, I have to use -max_socket in the sipp command, but when I try it through pysipp, it doesn't have this argument.
I tried to add this: pysipp.command.sipp_spec.extend('-max_socket max_socket')) .
How can we add more arguments, as there are many other SIP arguments that PySipp is not supporting?

@goodboy , I tried to follow this also but no success
11cfe61c8c098f82970ff7ab8c61a67fc35b7471[https:/SIPp/pysipp/commit/11cfe61c8c098f82970ff7ab8c61a67fc35b7471](url)

@ljluestc
Copy link

import pysipp

# Create a new pysipp scenario
sipp_scenario = pysipp.Scenario()

# Extend the sipp_spec dictionary with the -max_socket argument
sipp_scenario.sipp_spec.extend(['-max_socket', 'max_socket_value'])

# Define other scenario details as needed
# ...

# Start the scenario
sipp_scenario.start()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants