-
Notifications
You must be signed in to change notification settings - Fork 16
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
Unable to update traffic flow when test is running. #68
Comments
Hi, traffic must be stopped when you do Traffic Generate. |
Hi,
Kind regards. |
Glad that my suggestion worked! To get packet loss information, the code you're using is correct. Can you tell me a bit more on your test scenario? Why do you need the 'packet loss' count in real time? What is the limitation of polling the stats with your current code? |
Hi, |
you can simply call session.StatViewAssistant('Traffic Item Statistics'). Below is example code snip on getting Loss % and few other counters: I am not sure why you have 'while' loop/ Clear stats doc below:
|
Hi,
I'm having issues regenerating traffic flow when "FrameRate" is updated on the fly (while loop based on packet loss of the "Traffic Item Statistics" this is obviously possible via the GUI.
Code snippet:
Warnings: ['Traffic Generate required: The Traffic Item was modified. Please perform a Traffic Generate to update the associated traffic Flow Groups']
Error Msg: Unable to regenerate a started/transmitting trafficItem
The text was updated successfully, but these errors were encountered: