Recording using CEGID application in JMeter 5.2 - jmeter

Need to record the application that is on CEGID Retail application.
Script have 8 transactions and each transaction have 100 URL that is useful in script.
We can capture request in fiddler.
can we record using Jmeter otherwise need to take requests from fiddler and put in Jmeter manually that will consume more time.
Please suggest a better approach for this.
enter image description here
after converting fiddler session to .har and .har to .jmx request body is getting removed.
Please suggest on this.
Fiddler recording you can export the captured requests in HAR format like File -> Export Sessions -> HTTP Archive 1.1 and once done you can convert them into JMeter .jmx script using online HAR to JMX conversion tool
is there any setting need to change?

If the application is using HTTP and/or HTTP(S) protocols you should be able to normally record it using JMeter's HTTP(S) Test Script Recorder, just
start JMeter's HTTP(S) Test Script Recorder proxy
import JMeter's SSL certificate into your browser, the file is called ApacheJMeterTemporaryRootCA.crt and it's generated in "bin" folder of your JMeter installation
configure your browser to use JMeter as the proxy
execute your test scenario steps in browser - JMeter will store the relevant HTTP Request samplers under the Recording Controller
See Recording Tests user manual chapter for more details
If you already have a Fiddler recording you can export the captured requests in HAR format like File -> Export Sessions -> HTTP Archive 1.1 and once done you can convert them into JMeter .jmx script using online HAR to JMX conversion tool

Related

How to load test video stream with jmeter

I am using Red5 server to stream videos in my application. I have jmeter for load testing and blazemeter chrome extension for recording scripts.
Somehow the media files(the video chunks) are not getting recorded into the jmx file. Is there a way to record these files using blazemeter or any other tool?
Once recorded how can we use the script to perform load test in jmeter?
I don't think you should be recording this type of traffic as it is something you won't be able to properly replay, moreover JMeter (and BlazeMeter) recorder is capturing only HTTP requests
First of all you need to identify which protocol is being used for video transmission using your browser developer tools or a sniffer tool like Wireshark, once you figure that out you should mimic browser traffic via:
WebSocket Samplers - if your server uses WebSocket
HLS Plugin - if your server uses HTTP Live Streaming
etc.

How to use JMeter to record user input

How to record user input parameters using JMeter? I tried to use the record controller and follow through the tutorials, all the records are only http get requests without any post input. Thanks
Properly configured JMeter captures all network activity between browser and application under test, the fact you don't see POST requests might indicate one of the following:
Browser simply doesn't make any POST requests, i.e. your application is designed to operate only GET HTTP Request types
Your JMeter configuration is not correct, i.e. your application uses HTTPS. In this case you need to perform some extra configuration so JMeter could intercept, decrypt and record HTTPS requests:
make sure your browser is configured to use proxy for all protocols
make sure you install JMeter's self-signed certificate to your browser. The file name is ApacheJMeterTemporaryRootCA.crt and it is being generated in "bin" folder of your JMeter installation when you start JMeter Proxy Server
More information:
HTTP(S) Test Script Recorder (pay attention to HTTPS recording and certificates chapter)
Recording HTTPS Traffic with JMeter's Proxy Server

Response code: 404 while running simple Jmeter Load test

I am new to Jmeter , my manager asked me explore on this tool. Was starting with simple example to put load on website http://202.87.46.83:7001/OESWeb/Login/loginPage.jsp . I have done all necessary setup like proxy etc. While running the same i am getting Response code: 404 error
Below is http request and its results:
Try recording your test scenario using JMeter's HTTP(S) Test Script Recorder, building a JMeter Test Plan manually is a huge overhead in terms of required time.
The fastest and the easiest way to prepare JMeter for recording is using JMeter Templates feature,
Choose File -> Templates -> Recording from JMeter's main menu and click "Create" button.
Then expand WorkBench -> HTTP(S) Test Script Recorder and click "Start"
Configure your browser to use JMeter as a proxy (given JMeter and browser are running on the same machine use localhost as proxy host and 8888 as proxy port)
Start executing your test scenario in browser - JMeter will capture the requests and convert them into HTTP Request samplers

Why to perform proxy configuration while recording webbrowser action using JMeter?

While running HTTP(S) Test Script Recorder under Workbench in JMeter, why we have to set the HTTP Proxy to "localhost" and Port to "8080"? Why can't we perform recording without touching the proxy settings?
Because JMeter needs to capture outgoing requests in order to be able to convert them to HTTP Request samplers and the only way JMeter can do it - is by injecting itself in between. Moreover, when it comes to recording HTTPS traffic - you need to install JMeter self-signed certificate (ApacheJMeterTemporaryRootCA.crt) so JMeter could decrypt the requests.
"Normal" configuration:
Browser < - > Application Under Test
"Proxy" configuration:
Browser <-> JMeter Proxy <-> Application Under Test
More details:
HTTP(S) Test Script Recorder (was: HTTP Proxy Server )
Apache JMeter Proxy Step by Step
If for some reason you are unable to change browser proxy settings you can consider using JMeter Chrome Extension as an alternative.

Desktop based application recording in jmeter

I have a desktop based(.exe) application used for trading of equities.
1.Developed in VB uses TCP/IP.
2.Uses a database server which is an another server which the exe sends requests on.
3.I want to get the entire response using jmeter for 50 users at a time.
I wanted to record the responses for the transactions.I have worked with web applications where we create Http proxy server and start it and the recording happenes from browser but in this case i cant use browser.
Please guide me how to record the responses in jmeter with .exe applications.
Thanks and Regards,
Kumar
JMeter HTTP(S) Test Script Recorder is capable of recording only HTTP or HTTPS traffic so if following conditions are met:
Your .exe application talks to server using HTTP
Your .exe application can be configured to use HTTP proxy or respects Windows global HTTP Proxy settings from registry (or configured in Internet Explorer)
the answer is "yes", you can use JMeter to record the traffic. See Load Testing Mobile Apps. But Made Easy. guide for details on how to do it.
If one of above conditions cannot be satisfied there are following options available:
If you still want to use JMeter there is a possibility to use a sniffer tool like Wireshark to capture requests and manually construct them using JMeter HTTP Request or TCP Sampler.
Consider switching to Grinder tool which offers TCP Proxy
Hope this helps.

Resources