Bug 65189 - Comparison Assertion Visualizer is displaying HTTP Request details of same sampler in Left & Right section
Summary: Comparison Assertion Visualizer is displaying HTTP Request details of same sa...
Status: NEEDINFO
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 5.1.1
Hardware: PC Linux
: P2 major (vote)
Target Milestone: JMETER_5.5
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-16 15:02 UTC by DivyangRaval
Modified: 2021-04-10 12:30 UTC (History)
1 user (show)



Attachments
IssueScreenshot (103.65 KB, image/png)
2021-03-16 15:04 UTC, DivyangRaval
Details
SampleTestPlanJMX (7.89 KB, application/xml)
2021-03-16 15:05 UTC, DivyangRaval
Details
Visualizer run with attached test plan (32.08 KB, image/png)
2021-04-10 12:30 UTC, Felix Schumacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DivyangRaval 2021-03-16 15:02:46 UTC
Comparison Assertion Visualizer is displaying HTTP Request details of the same sampler in the Left & Right section

Use Case:
Sample Tree view:

ThreadGroup Test:
    -HTTP Sampler Request A: HTTPS://test.com/A
    -HTTP Sampler Request B: HTTPS://test.com/B
    -Compare Assertion : compareContent=False & CompareTime=1
    -Comparison Assertion Visualizer

Expected Behavior for Assertion: Compare assertion will check the Time difference between request A & B. If found return and ERROR.

Expected Behavior for Visualiser: It should display time difference and Request details in the left & Right section.

Ideally Left section should display details of Request A & the right section should display details of Request B.


*Actual behavior of visualizer*: It displays the actual time taken by Request A on the Left side and by Request B on the right side but the Host, Path, Headers, etc information being displayed the same on both the section.
Comment 1 DivyangRaval 2021-03-16 15:04:14 UTC
Created attachment 37774 [details]
IssueScreenshot

PFA SS with, issue highlighted.
Comment 2 DivyangRaval 2021-03-16 15:05:36 UTC
Created attachment 37775 [details]
SampleTestPlanJMX

Sample Test plan to reproduce the issue
Comment 3 Felix Schumacher 2021-03-17 20:41:43 UTC
When I use your test plan, it works as intended. The path for Request A ends with a "1" and that for B ends with a "5".

If we are not able to reproduce your described behaviour, we can probably not help you.

Did you look into the Results Tree View? Where all requests listed there, that you expected?

Can you still reproduce the behaviour?
Comment 4 DivyangRaval 2021-03-25 09:47:46 UTC
Hi Felix,

Please check the Comparison Assertion Visualizer listener to reproduce the issue.

View results tree is just for information.

Please check the attached SS, to get the exact issue details which I am referring to.

Feel free to let me know if more info required.

Regards,
Divyang Raval
Comment 5 Felix Schumacher 2021-04-10 12:28:13 UTC
I had checked the test plan before and my results where different to yours. The visualizer showed correct values. Therefore I asked, whether you can still reproduce the problem. If so, then please try to give more details on how you did your tests, as I can't reproduce them.
Comment 6 Felix Schumacher 2021-04-10 12:30:59 UTC
Created attachment 37806 [details]
Visualizer run with attached test plan

Results look good to me.