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: [email protected]
Reporter: [email protected]
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.