https://bz.apache.org/bugzilla/show_bug.cgi?id=64229

            Bug ID: 64229
           Summary: A duplicate main sampler is under the main sampler in
                    View Results Tree
           Product: JMeter
           Version: 5.2.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: JMETER_5.3.0

Created attachment 37101
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37101&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to