Bug 64229 - A duplicate main sampler is under the main sampler in View Results Tree
Summary: A duplicate main sampler is under the main sampler in View Results Tree
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 5.2.1
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: JMETER_5.3.0
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-15 15:36 UTC by Wicky Tam
Modified: 2020-03-15 15:36 UTC (History)
0 users



Attachments
script & screenshot & the date captured by wireshark (64.29 KB, application/zip)
2020-03-15 15:36 UTC, Wicky Tam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wicky Tam 2020-03-15 15:36:34 UTC
Created attachment 37101 [details]
script & screenshot & the date captured by wireshark

I use a web server program "webtours" which is a part of loadrunner11.
the Home page of "webtours" contain some  embedded resources(*.html & *.pl & *.png),so the http samplers to this page can generate sub-samples.

1.I make a HTTP main sampler to visit this web page
2.set the Attribute "Retrieve All Embedded Resources from HTML Files" in this sampler to be "Yes".
3.put a View Results Tree into the Thread Group.
4.run the script.

Let's look into the View Results Tree,you will find there are some sub_sampler and a main sampler under the main sampler.Yes, A duplicate main sampler is under the main sampler.it does wrong sometimes! For example, the Attribute "Apply to:" of Response Assertion is set to be "sub-samples only". Fill a string "(?i)/body" which is Contained in all responses of sub-request(but not  the main_sampler) into the Attribute “Patterns to Test”. the real result is failure because the string is not found in the duplicate main sampler. is it right? I don't think so.
Comment 1 The ASF infrastructure team 2022-09-24 20:38:19 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5260