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

Sipp fork new process #419

Closed
kypopthuk1996 opened this issue Oct 16, 2019 · 3 comments
Closed

Sipp fork new process #419

kypopthuk1996 opened this issue Oct 16, 2019 · 3 comments

Comments

@kypopthuk1996
Copy link

Hello dev team!
Is there any way to get sipp to fork a new process?
if so, in which part of your code to look.

@ttiimmoonn
Copy link

Yes, the question is interesting: for example, it would be cool when you set up a media session to start another program for generating or analyzing media traffic

@rkday
Copy link
Contributor

rkday commented Nov 10, 2019

Yes, we do - something like the following:

  <recv response="200" rtd="true">
    <action>
      <exec command="sleep 0.2" />
    </action>
  </recv>

See https://sipp.readthedocs.io/en/v3.6.0/scenarios/actions.html#external-commands for the docs. #423 adds an <exec verify> action which can check the return code. (and is a good place to look to see the code that controls running commands)

@rkday rkday closed this as completed Nov 10, 2019
@kypopthuk1996
Copy link
Author

And I can somehow handle the result of executing third-party code?
Is there any way to save the execution code to a variable?

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

3 participants