Following the Dynatrace article
This article describes necessary setup of legacy versions via HTTP,
when implemented with DT 6.5 and Jmeter 3.0 bsh errors reported in Jmeter
Errors relate to Beanshell : Error invoking bsh method: eval Sourced
file: ''import org.apache.jmeter.JMeterUtils, String
trid=JMeterUtils.getProperty( . . .""
Andreas my issue is with the dynamic Header update as part of the
solution, the AUT has unique headers for each request, the Header update
removes vital header entries (refer) and breaks the script. If I comment out
sampler.getHeaderManager().clear(); this enables the script to work but results
in multiple X-dynatrace... entries building up in the request Headers, when
multiple iterations are scheduled.
I have just tried using
that removes the previous header entry, instead of clear() seems to work, need to do more testing.
If you're looking for an up to date and simple Apache JMeter
integration with Dynatrace, then have a look at the Monitoring Plugin
for JMeter provided by UbikLoadPack:
This plugin allows you to integrate with: