Tag Info

New answers tagged

1

While Loop controller execute its samplers until the condition specified is not set to False. The condition can be any variable or function that eventually evaluates to the string 'false'. So, you need to specify a variable or function in While Loop, that has value 'true' and becomes 'false' somewhere else in the script. Once it changes to 'false', JMeter ...


0

By default JMeter stores the following metrics it its results file: timeStamp,elapsed,label,responseCode,responseMessage,threadName,dataType,success,bytes,grpThreads,allThreads,Latency 1438068133842,0,HTTP Request,1000,Test successful,Example Thread Group 1-1,text,true,0,1,1,0 JMeter Listeners basically parse this data and represent it in more ...


0

This MSDN page should have all the answers. If you are still confused, go higher up in the page tree to work on your foundation level knowledge. I won't copy+paste the wall of text as the MSDN has been up longer than StackOverflow.


-2

Firsly, I work at IT Central Station, a crowdsourced platform for real user IT reviews. Interesting comparisons, if you're looking at JMeter, Gatling and other similar tools you may want to check out a comparison page where you can see real user feedback on JMeter and HP StormRunner that speak specifically about script performance tests and may be useful.


2

JMeter produces some basic fields/result_field. JMeter doesn't create everything you see in different types of Listeners. You can give this a try. Create a plan Generate atleast 100 samples (As large amount of data is required for some listeners), using a single sampler (request) Use as many Listeners as you want of different types (say 15 types of ...


0

Use Android Studio for taking such kind of profiling. Launch Android Device Monitor after connecting your debug device. Click on Start Method profiling Now, perform an activity that you would want to measure. Like, moving from one view to another that might also include some network communication with backend. Once the activity is completed, click on stop ...


0

I would recommend using Apache JMeter tool (free and open source) to simulate concurrent mobile application users activity. JMeter is capable of recording mobile traffic and replaying it with configurable number of virtual users. You can use either built-in HTTP(S) Test Script Recorder or Mobile Recorder service to capture the traffic.


0

If all you are interested in is how long an API call takes, just use PostMan. If you want to view how long it takes on your physical devices than you can use an Android phone with Chrome and a iOS device with Safari. Once setup, you can use the Network inspector tab of DevTools to monitor your requests.


0

Add a Regular Expression Extractor as a child of the request which hits Google and configure it as follows: Reference Name: anything meaningful, i.e. title Regular Expression: <title>(.+?)</title> Template: $1$ other fields may be left as they are Add If Controller at the same level as request hitting Google lives and use the following ...


0

There are multiple contributing factors affecting query execution Isolation levels (This decide concurrency / deadlocks when same data access by multiple sessions) Indexes (This will decide execution plan seek / scan which will effect query execution time / performance) You need to look at execution plan of the complete proc. You need to look at top ...


0

Whenever we think about the performance aspect of the Application/ Database/ feature or whatever. Never go for single results set or single iteration. You need to collect enough data for the statistical analysis of the result for reaching to an answer that your subject under test is performing Good or Bad. It is simple fundamental of Statistics that "More ...


0

The jMeter Web Driver Sampler plugin describes a situation like this: Example code: WDS.browser.get('http://google.com') if(WDS.browser.getTitle() == 'Google') { WDS.browser.get('http://yahoo.com') }


3

First use the xpath extractor and extract the string from title the xpath would be //title Give the reference name say "t" and default as "Not Found" Next use in the if controller give condition as "${t}" == "Google" add a sampler in it which hits yahoo.com.(Make sure you use https in protocol inside sampler) Add a View Results Tree in the Thread Group ...


0

I would recommend using Apache JMeter which is capable of producing severe load using JDBC protocol. In order to test your database: Download Oracle JDBC Driver for your Oracle installation and drop it to lib folder Add JDBC Connection Configuration test element and specify Oracle connection details (driver class name, JDBC url, credentials) Add JDBC ...


0

I know I am late but I want to share this with the community. I am not sure if you could solve your problem to record a JMeter script, but I want to tell you another way to build a script, because I think is pretty simple. At my work, we created a simple windows command line which uses Fiddler sessions to create JMeter scripts. You can find our program ...


0

I would run it a number of times for each configuration and average the results (maybe a dozen times?) However, the important thing is to make sure that the system is in the same state before each run, otherwise the database may be, for example, using cached execution plans. The most obvious way to get a somewhat consistent environment would be to ...


0

It looks like your application is using AJAX request(s) to display the graph. You need to capture the requests somehow and execute along with main GET request to the page. You can use Transaction Controller to measure and record the whole sequence execution time. In regards to AJAX thing itself, JMeter doesn't provide a relevant sampler to exactly simulate ...


0

If I got your issue correctly then, there is a work around of doing this, you just either need to know/find out which HTTP requests are made for displaying Graph or which requests are made after Login and displaying navigation links in Left. Once this is known, just move those requests (cut-paste) to a different Controller (you can use Simple Controller for ...


0

This doesn't seem in-line with what JMeter is built to do: create load on a server. Sounds like you'd be better off doing this sort of thing in Selenium. For manual testing, just use the network tab of DevTools in most modern browsers.


0

This value of connection time and keep-alive setting, is more usable when application is running on SSL handshake. If this setting is on and once the connection has been established, response times will decrease. Connection time value is important to know if the changes in response times you’re seeing are caused by these connections being established or if ...


0

Check keep-alive settings of your samplers. With keep-alive turned on for all samplers each thread would establish connection only once, at the start of test, and reuse it for other requests.



Top 50 recent answers are included