Bug 65189

Summary: Comparison Assertion Visualizer is displaying HTTP Request details of same sampler in Left & Right section
Product: JMeter Reporter: DivyangRaval <divyagraval>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: NEEDINFO ---    
Severity: major CC: divyagraval
Priority: P2    
Version: 5.1.1   
Target Milestone: JMETER_5.5   
Hardware: PC   
OS: Linux   
Attachments: IssueScreenshot
Visualizer run with attached test plan

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]

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

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.

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.