Guruswamy B M
Guruswamy B M

Reputation: 317

How to set Transactions manually in Jmeter

I am trying to run a performance test for client-side (In Mobile devices with cloud solutions) and server-side at the same time using Jmeter. For EX: I have a selenium script (in client-side) that executes login script and returns the UX Page load time. Similarly, HTTP requests on the server-side return the page load time. I would like to print both the values in Jmeter summary reports.

Like

  1. AndroidLoginTime

  2. Server login Time (Typically I used Transaction controller for this)

What I understand "Jmeter Summary results" has the avg, max and min time of executed HTTP requests time. In the above case, I already have average time which got it by a cloud solution. Now I would like to print the same value in Jmeter results.

I have done this in LoadRunner by using the command and got the summary report like below

lr_set_transaction(LoginTime, txTime, LR_PASS);

Sample LoadRunner summary report

Is there any way we can do this in Jmeter.

Any help highly appreciated.

Thanks in Advance

Upvotes: 0

Views: 1054

Answers (1)

Dmitri T
Dmitri T

Reputation: 168092

The easiest is adding a Dummy Sampler where you can set desired transaction name (Sampler label) and the response time

enter image description here

The results can be observed by any Listener of your choice, i.e. Summary Report

enter image description here

Upvotes: 1

Related Questions