You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2018/02/22 04:40:36 UTC

[Bug 62125] New: JMeter RecordingController Record Request In Different Formats

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

            Bug ID: 62125
           Summary: JMeter RecordingController Record Request In Different
                    Formats
           Product: JMeter
           Version: 3.2
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: junaidbinsarfraz@yahoo.com
  Target Milestone: ---

Created attachment 35736
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35736&action=edit
Attachment

I have already asked the question
https://stackoverflow.com/questions/48334610/jmeter-recordingcontroller-record-request-in-different-formats

Below is the question

I have developed a webcrawler that uses Apache-JMeter.

I have created a recording controller to record request/response as jmx tree.

To record jmx I have two options either I integrate JMeter api in my code or
use JMeter GUI, I choose both for testing. So I run the apache-jmeter from code
and gui to record the request/response side-by-side. Below are the jmx results
of Code-Base-JMeter and GUI-Base-JMeter for one request

<<Code-Base-JMeter>>

<<GUI-Base-JMeter>>

Differences between recordings

1) HTTPSamplerProxy tree ends before the header section in GUI-Base-JMeter
recoding, while HTTPSamplerProxy tree ends at last of Code-Base-JMeter

2) HeaderManager is tag in GUI-Base-JMeter while in Code-Base-JMeter its
property-value of elementProp tag.

3) HeaderManager is sibling of HTTPSamplerProxy in GUI-Base-JMeter while
elementProp tag (of HeaderManager property-value) is child of HTTPSamplerProxy.

Basically whole layout is different in both recordings. I want Code-Base-JMeter
recording same as GUI-Base-JMeter recoding.

I am using Apache-JMeter 3.2 (both for GUI and code)

Below is the code

<<To Initialize>>

<<Start JMeter>>

<<Stop Record JMeter>>

Note: "<<>>" show attachment as txt files.

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

[Bug 62125] JMeter RecordingController Record Request In Different Formats

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62125

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
                 OS|                            |All
             Status|NEW                         |RESOLVED
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Thanks for report, unfortunately we don't have time to investigate custom code
as we have already a lot of work on our code.

Maybe request some expertise in JMeter that could help you.

Regards

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