how do I add jars for custom plugins

467 views
Skip to first unread message

wi...@willshouse.net

unread,
Oct 14, 2015, 3:08:45 PM10/14/15
to codename-taurus
I have a custom filter for access log playback.  Normally i add it to the search paths in the jmeter.properties.  This filter requires groovy which i normally just drop in the /libs folder.  what would be the best practice for doing this with taurus?  I know i can change the search paths property in for the jmeter module but how do i include the groovy jar?  I tried the following but it did not work.

execution:

  concurrency: 32

  ramp-up: 2m

  hold-for: 2m

  throughput: 32

  steps: 4

  scenario:

    script: scripts/haste-vrbo.jmx

    variables:

      hostname: aus-sun-jmeter02

      port: 9888

      logFile: /tmp/VRBO.log

    properties:

      haste.filters.paths.allowed: /perf/.*

  files:

   - path: libs/hastelib-1.1.6-SNAPSHOT.jar

   - path: libs/groovy-all-2.0.6.jar


Andrey Pokhilko

unread,
Oct 15, 2015, 8:06:52 AM10/15/15
to codenam...@googlegroups.com
Hi,

This is usually solved by setting user.classpath property for JMeter. I realized that there is an issue that Taurus overwrites this property. I already fixed this in the code. You can either wait for next release or take latest dev snapshot from here to try: http://gettaurus.org/docs/DeveloperGuide/#Python-Egg-Snapshots

For me it worked fine like this:

---
execution:
- executor: jmeter
  scenario:
    script: arrivals.jmx
    properties:
      user.classpath: /home/undera/Sources/ArrivalsControl/target/ArrivalsControl-1.0.jar


Andrey Pohilko
Chief Scientist
P: +7 (909) 631-21-69
BlazeMeter Inc.
--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/a0132e06-bcc6-46ec-af2a-9d221158453a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages