Questions tagged [jsr233]

JSR 233: J2EE Mobile Device Management and Monitoring Specification

Status: Withdrawn

JSR 233

10 questions
3
votes
1 answer

Use POJOs in JMeter BeanShell or JSR233

I have built a Java Class and exported it as JAR. I have imported it successfully in JMeter ($JMETER_HOME/lib) and I can successfully import it in a Beanshell Sampler and also in a JSR233 Sampler. I have followed several instructions like Running…
Javier Delgado
  • 2,343
  • 2
  • 17
  • 31
2
votes
1 answer

I have JSR233 listener which seems to be ignored in JMeter non-gui mode

I have JSR233 listener under HTTP Request, it stores all the response time values, creates array and then sort the array to find 90% line and then marks the last transaction/Request Pass or Fail if the final 90% Line threshold is reached. Everything…
code hard
  • 21
  • 1
1
vote
1 answer

WDS.sampleResult.sampleStart() for JSR223 Sampler

I am using JSR223 Sampler and I want to start calculating time after url load so my code as below : ** import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.firefox.FirefoxOptions; import…
1
vote
1 answer

Jython script implementing a class isn't initialized correctly from Java

I'm trying to do something similar to Question 4617364 but for Python - load a class from python script file, where said class implements a Java interface and hand it over to some Java code that can use its methods - but calls to the object method…
Guss
  • 30,470
  • 17
  • 104
  • 128
1
vote
1 answer

Apache Velocity 2.0 Scripting Compilable not working

I'm trying to check velocity scripting engine 2.0 which Provide JSR 223 implementation and support of Compilable the Compilable interface has been implemented in the process. I use jars: velocity-engine-scripting-2.0.jar, velocity-1.7.jar,…
Ori Marko
  • 56,308
  • 23
  • 131
  • 233
1
vote
1 answer

Mozilla Rhino 1_7R4 Extending Abstract Class ( JS )

I'm using Mozilla's implementation of Rhino (not the one bundled with the JDK). Having read this thread: How to subclass an inner (static) class in Rhino? -- I thought that I was on the right track, but the following implementation fails…
Luke A. Leber
  • 702
  • 6
  • 17
0
votes
1 answer

Creating XSSFWorkbook() from JSR233 Sampler- Jmeter

I am able to create XSSFWorkbook() in the first iteration only. In second iteration, JSR233 Sampler is passing but Workbook is not getting created. Workbook wb = new XSSFWorkbook(); Sheet sheet = wb.createSheet("SiteList"); Create a row and put…
0
votes
1 answer

Jmeter HTTP request is giving a 400 when using data extracted from a CSV but works fine when manually passing the data on the request body

I have two HTTP GET requests in Jmeter. The first one calls to a server and gets a CSV that holds some user data. Using a JSR223 Post processor, I am , mapping that data onto a JSON and assigning the values to three variables to be passed onto the…
coder
  • 3
  • 3
0
votes
1 answer

How to get from JRuby a correctly typed ruby implementation of a Java interface?

I'm trying to use JRuby (through the JSR233 interface included in JRuby 1.5) from a Java application to load a ruby implementation of a Java interface. My sample implementation looks like this: Interface: package some.package; import…
Guss
  • 30,470
  • 17
  • 104
  • 128
0
votes
1 answer

Apache Velocity - Failed to eval script due to slf4j dependencies

Continue previous question I'm failing to execute scripting in velocity 2.0, I use jars: velocity-engine-scripting-2.0.jar, velocity-engine-scripting-2.0.jar, commons-collections-3.2.2.jar I'm trying to follow developer guide…
Ori Marko
  • 56,308
  • 23
  • 131
  • 233