Discussion:
Passing response to Jmeter directly ( No .jmx needed)
Prateek Dua
2018-07-04 13:40:14 UTC
Permalink
Hey Guys,

Need your help in automating Jmeter performance suite in integration with
the code directly *i.e. reading request & directly passing response to
Jmeter without reading from .jmx file.*

1. lets take one repo for ex - abc company code base.

2. Dev Integration suite run automatically moment developer commit code in
the git repo with the help of hooks.

3. *In continuation - we want our Jmeter suite trigger automatically based
on request/response received from the API integration suite via proxy. *

4. Captured API response shall get executed for set performance test
scenario via Jmeter.


--
Prateek Dua | Manager - QA
***@go-mmt.com | 9810778750

19th floor, Tower A, B & C Epitome Building No. 5 DLF Cyber City, Phase –
III Gurgaon 122 002, India
<https://www.makemytrip.com/> <https://www.goibibo.com/>
<https://www.redbus.in/>

--


::DISCLAIMER::


----------------------------------------------------------------------------------------------------------------------------------------------------





This message is intended only for the use of the addressee and may
contain information that is privileged, confidential and exempt from
disclosure under applicable law. If the reader of this message is not the
intended recipient, or the employee or agent responsible for delivering the
message to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this e-mail in error, please notify us
immediately by return e-mail and delete this e-mail and all attachments
from your system.
Felix Schumacher
2018-07-05 14:28:35 UTC
Permalink
Am 04.07.2018 um 15:40 schrieb Prateek Dua:
> Hey Guys,
>
> Need your help in automating Jmeter performance suite in integration with
> the code directly *i.e. reading request & directly passing response to
> Jmeter without reading from .jmx file.*
I don't understand, what you want, so I place a few questions below in
the hope, that the answers you give to those will make your plans
clearer (to me).

>
> 1. lets take one repo for ex - abc company code base.
You mean a code repository in something like git or subversion where
your developers commit their code to?
I guess this is the code for one product that you want to get
load/stress/functional tested, right?

>
> 2. Dev Integration suite run automatically moment developer commit code in
> the git repo with the help of hooks.
Is this done by some "standard" tool like jenkins?
>
> 3. *In continuation - we want our Jmeter suite trigger automatically based
> on request/response received from the API integration suite via proxy. *
This is the point that I don't get at all. Which API integration and
what proxy is meant here? How do they work together and to what JMeter
suite do you refer? Try to explain this step a bit more.

>
> 4. Captured API response shall get executed for set performance test
> scenario via Jmeter.
Who or what captures the API calls?

Felix
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-***@jmeter.apache.org
For additional commands, e-mail: user-***@jmeter.apache.org
Prateek Dua
2018-07-06 07:20:45 UTC
Permalink
hey Felix,

please find my comments inline

1. lets take one repo for ex - abc company code base.
>
You mean a code repository in something like git or subversion where your
developers commit their code to?
I guess this is the code for one product that you want to get
load/stress/functional tested, right?

< Prateek - Yes a code repo of git & from this we want their Api to get
load tested >


> 2. Dev Integration suite run automatically moment developer commit code in
> the git repo with the help of hooks.
>
Is this done by some "standard" tool like jenkins?

< Prateek - Yes .. Webhooks sync with Jenkins >


3. *In continuation - we want our Jmeter suite trigger automatically based
> on request/response received from the API integration suite via proxy. *
>
This is the point that I don't get at all. Which API integration and what
proxy is meant here? How do they work together and to what JMeter suite do
you refer? Try to explain this step a bit more.

4. Captured API response shall get executed for set performance test
> scenario via Jmeter.
>
Who or what captures the API calls?

< Prateek - Dev Integration Suite ( Api) as stated in above Step 2. By
Proxy we meant proxy set at Application ( System) level that will capture
request & response of Api.
Further we want captured requests by Proxy to send to Jmeter directly &
then instruct Jmeter to run test on these requests.















On Thu, Jul 5, 2018 at 7:58 PM, Felix Schumacher <
***@internetallee.de> wrote:

>
>
> Am 04.07.2018 um 15:40 schrieb Prateek Dua:
>
>> Hey Guys,
>>
>> Need your help in automating Jmeter performance suite in integration with
>> the code directly *i.e. reading request & directly passing response to
>> Jmeter without reading from .jmx file.*
>>
> I don't understand, what you want, so I place a few questions below in the
> hope, that the answers you give to those will make your plans clearer (to
> me).
>
>
>> 1. lets take one repo for ex - abc company code base.
>>
> You mean a code repository in something like git or subversion where your
> developers commit their code to?
> I guess this is the code for one product that you want to get
> load/stress/functional tested, right?
>
>
>> 2. Dev Integration suite run automatically moment developer commit code in
>> the git repo with the help of hooks.
>>
> Is this done by some "standard" tool like jenkins?
>
>>
>> 3. *In continuation - we want our Jmeter suite trigger automatically based
>> on request/response received from the API integration suite via proxy. *
>>
> This is the point that I don't get at all. Which API integration and what
> proxy is meant here? How do they work together and to what JMeter suite do
> you refer? Try to explain this step a bit more.
>
>
>> 4. Captured API response shall get executed for set performance test
>> scenario via Jmeter.
>>
> Who or what captures the API calls?
>
> Felix
>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-***@jmeter.apache.org
> For additional commands, e-mail: user-***@jmeter.apache.org
>
>


--
Prateek Dua | Manager - QA
***@go-mmt.com | 9810778750

19th floor, Tower A, B & C Epitome Building No. 5 DLF Cyber City, Phase –
III Gurgaon 122 002, India
<https://www.makemytrip.com/> <https://www.goibibo.com/>
<https://www.redbus.in/>

--


::DISCLAIMER::


----------------------------------------------------------------------------------------------------------------------------------------------------





This message is intended only for the use of the addressee and may
contain information that is privileged, confidential and exempt from
disclosure under applicable law. If the reader of this message is not the
intended recipient, or the employee or agent responsible for delivering the
message to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this e-mail in error, please notify us
immediately by return e-mail and delete this e-mail and all attachments
from your system.
w***@shuyun.com
2018-08-15 13:32:01 UTC
Permalink
Hi All,
My jmeter crashed.
When I run the ApacheJMeter.jar, then the loading screen will display and the processing bar grows as normal, but when the bar goes to 100% and the main screen appears, they will suddenly disappear and left nothing.
I tried start jmeter several times today, but all failed. Then I reinstall jmeter but it does not work.

The attachment of this email is one of the error log and the error summary in shell-window as below:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006b4c6adf, pid=9976, tid=0x0000000000003ac8
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [msvcr100.dll+0x36adf]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\WINDOWS\system32\hs_err_pid9976.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
errorlevel=1

Thank you
lwj
sebb
2018-08-15 16:11:00 UTC
Permalink
On 15 August 2018 at 14:32, ***@shuyun.com
<***@shuyun.com> wrote:
> Hi All,
> My jmeter crashed.

Strictly speaking, it was the JRE which crashed.

The JRE is supposed to protect itself against crashing when running Java code.

JMeter does not use native code and should not be able to cause a crash.

Either your JRE is faulty, or perhaps you are using a plugin which
uses native code.

Try installing the latest version of Java 8 (8.0_131 is quite old).

> When I run the ApacheJMeter.jar, then the loading screen will display and
> the processing bar grows as normal, but when the bar goes to 100% and the
> main screen appears, they will suddenly disappear and left nothing.
> I tried start jmeter several times today, but all failed. Then I reinstall
> jmeter but it does not work.
>
> The attachment of this email is one of the error log and the error summary
> in shell-window as below:
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006b4c6adf,
> pid=9976, tid=0x0000000000003ac8
> #
> # JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build
> 1.8.0_131-b11)
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode
> windows-amd64 compressed oops)
> # Problematic frame:
> # C [msvcr100.dll+0x36adf]
> #
> # Failed to write core dump. Minidumps are not enabled by default on client
> versions of Windows
> #
> # An error report file with more information is saved as:
> # C:\WINDOWS\system32\hs_err_pid9976.log
> #
> # If you would like to submit a bug report, please visit:
> # http://bugreport.java.com/bugreport/crash.jsp
> # The crash happened outside the Java Virtual Machine in native code.
> # See problematic frame for where to report the bug.
> #
> errorlevel=1
>
> Thank you
> lwj
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-***@jmeter.apache.org
> For additional commands, e-mail: user-***@jmeter.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-***@jmeter.apache.org
For additional commands, e-mail: user-***@jmeter.apache.org
Loading...