I am using jmeter to test the performance for the ride booking app.I need to run the while controller which runs the events fetching api continuously until the ride is completed or if driver is not available. This runs correctly for one user .But if i run the plan for multiple users then the while controller enters infinite loop.How can I fix this?
need to run while loop for multiple users in jmeter
121 Views Asked by Snehal Matharu At
1
There are 1 best solutions below
Related Questions in WHILE-LOOP
- Why does compiler recognize while(true) at compile time but not if(true)
- Are the conditional statements if(true) and if(false) evaluated at compile time in java?
- Merge two requests for searches
- PHP While Foreach of MySQL key
- loop for file location until file exists in bash
- Display array items in groups
- how to store strings in a while loop in java
- while read line out of scope
- CSV export only heading Arrays not Data
- How to swap digits in java
- while loop not looping / displaying count
- Why this for loop doesn't do the same that the while loop?
- counting characters in the input with while loop
- Switch case (JavaScript) inside a while loop (PHP)
- using getopts did not get the input value
Related Questions in JMETER
- Jmeter JDBC Connection Configuration Parametrization of Database URL for accessing SQL Database
- html data after login to mail server
- JMeter Requests are concurrent requests or sequential requests?
- Why am I receiving Response code: Non HTTP response code: java.net.SocketException?
- Getting connection refused error when trying to communicate through HTTPS
- ELB generating 504 GATEWAY_TIMEOUTS w/ 2 EC2 instances - Packets not reaching Servers
- Using Jmeter OS Process Sampler to collect script data
- Clicking an email verification link using jmeter
- How to run Java code in in JMeter and pass vairables from java code to Jmeter script
- Error instantiating class:class:null java.lang.reflect.InvocationTargetException
- how to get an attribute value from a href link in Jmeter
- Token Parsing Error: Lexical error
- Do we need to use JMeter Tool for .jmx file generation or write java code using eclipse etc
- using JMeter proxy recorder behind company proxy with SSL manager
- Can anyone explain me following RandomString
Related Questions in CONTROLLER
- Submit Button on Razor View doesn't call Action Result - MVC
- Calling controller action from action in component
- Silex can't find Controller Class
- Sails JS - How to Work With Specific Model Attributes from the Associated Controller
- rails controller test failing non-deterministicly wrt state leak (I think)
- Negative Lookahead RegEx at Class Level RequestMapping
- Is bootstrap file a controller?
- angular $firebaseArrray: difference between controller and directive
- codeigniter required to store flashdata in for-each loop
- Angular is giving me an injection unresolved error, but my controller isn't asking for any injections
- Access database with new pacakage in Laravel 4.2
- Get locale to controller variable
- How to start a script after that the controller sends data to jsp
- Using transaction in Ruby On Rails controller method
- Attempting to pop a modal window - Using Angular and Bootstrap
Related Questions in ANDROID-MULTIPLE-USERS
- Android 7.1.1 multi-user support in emulator
- Is there any way to install on the same android mobile a debug version of my app AND a google play store version of my app?
- How to check if "Multiple users" is enabled
- getInstalledPackages() for Android multiple users
- Android for Work ANDROID_ID is returning NULL
- Which is the best approach for an app with multiple users using Room database?
- Is it possible to enable android multi-user from adb?
- need to run while loop for multiple users in jmeter
- Google In-App Purchase how to set Account for Billing [Not Possible as of 2017-05-26]
- How to make android multiplayer games without port forwarding
- Unavailable preferred APN for secondary users on multi-user environment
- How to access personal file in SD card in work profile App?
- How to know if the android device supports multi users?
- Android multiplayer game SDK development
- Sharing data in multiple User app(User and Admin)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
While Controller is being executed unless its condition (a Function or Variable) resolves to
trueIf it runs into an endless loop - most probably your server responds with something you don't expect, i.e. an error because it gets overloaded.
So I would suggest taking 2 actions:
Temporarily enable storing of responses into .jtl or a separate file and inspect what does the server return and amend your While Controller's condition accordingly
And/or limit maximum number of iterations of the While Controller to some reasonable number, i.e. 10 or 20 or whatever is acceptable value, example __jexl3() function