gt;> On Thu, 3 Apr, 2025, 5:12 pm Christof,<
> c.schmalenb...@perfomatics.com>
> > > >> wrote:
> > > >>
> > > >>> Hi Abhitosh,
> > > >>> is the javascript script small in size?
> > > >>> If so you could remove or replace with dum
s 100 lines or more I will not have the time to do that.
> > >>> Otherwise
> > >>> I will give it a chance.
> > >>>
> > >>> Christof
> > >>>
> > >>>
> > >>>
> > >>> Am 3. April 2025 09:02:3
Wed, 2 Apr, 2025, 9:03 pm
> >>>>> Christof,
> >>>>> wrote:
> >>>>>
> >>>>>> Hi Abhitosh,
> >>>>>> groovy is one of the supported languages in jsr223 sampler. If your
> >>>>>> javascr
#x27;t be able able to choose
JavaScript
in JSR223 test elements because it has been removed from JDK<
https://openjdk.org/jeps/372>
2.
There could be inconsistencies between Postman JavaScript API and
JMeter
so you won't have access to pm. namespace in JMeter
So you either need to res
pective as Groovy scripts can
be
compiled and cached and it matters especially for "heavy" tasks like
cryptography. More information: Apache Groovy: What Is Groovy Used
For?<
https://www.blazemeter.com/blog/apache-groovy>
From: Abhitosh Patil
S
k.org/jeps/372>
> >>> >> 2.
> >>> >> There could be inconsistencies between Postman JavaScript API and
> >>> JMeter
> >>> >> so you won't have access to pm. namespace in JMeter
> >>> >>
> >>>
latter
>> >> option is better from performance perspective as Groovy scripts can be
>> >> compiled and cached and it matters especially for "heavy" tasks like
>> >> cryptography. More information: Apache Groovy: What Is Groovy Used
>> For?<
>> >&
ective as Groovy scripts can be
> >> compiled and cached and it matters especially for "heavy" tasks like
> >> cryptography. More information: Apache Groovy: What Is Groovy Used For?<
> >> https://www.blazemeter.com/blog/apache-groovy>
> >>
>
hy. More information: Apache Groovy: What Is Groovy Used For?<
> https://www.blazemeter.com/blog/apache-groovy>
>
>
>
> ________________
> From: Abhitosh Patil
> Sent: Wednesday, April 2, 2025 5:14 PM
> To: JMeter Users List
> Subject: Need to execute ja
oovy>
From: Abhitosh Patil
Sent: Wednesday, April 2, 2025 5:14 PM
To: JMeter Users List
Subject: Need to execute javascript using JMeter
We have a requirement to generate unique authentication signature to pass
as a header in API request. We have a pre-request java
We have a requirement to generate unique authentication signature to pass
as a header in API request. We have a pre-request javascript for same in
postman tool.
Same javascript we tried in JMeter using jsr223 and beanshell elements. But
it's not working. Any solution for this?
11 matches
Mail list logo