Skip to content

http2 sampler fail after 1st loops step #17

@mohangn

Description

@mohangn

As 5G Tester on products integration I have an objective to migrate or tests suites to the latest simulap 30.00 on top of java 11.
After migration from simulap 19.12 to simulap 30.X, some tests are failing due to some sampler reported as error.

For now, I identified that:
Some requests (get on k8s api for exemple) in loops fail after first iteration with "null" in request view of the result tree sampler.

reponse :

java.lang.ClassCastException: class org.apache.jmeter.testelement.property.NullProperty cannot be cast to class org.apache.jmeter.testelement.property.CollectionProperty (org.apache.jmeter.testelement.property.NullProperty and org.apache.jmeter.testelement.property.CollectionProperty are in unnamed module of loader org.apache.jmeter.DynamicClassLoader @a09ee92)
at org.apache.jmeter.config.Arguments.getArguments(Arguments.java:55)
at org.apache.jmeter.config.Arguments.toString(Arguments.java:174)
at com.blazemeter.jmeter.http2.sampler.RequestBody.from(RequestBody.java:32)
at com.blazemeter.jmeter.http2.sampler.HTTP2Request.getUrl(HTTP2Request.java:383)
at com.blazemeter.jmeter.http2.sampler.HTTP2Request.sample(HTTP2Request.java:173)
at com.blazemeter.jmeter.http2.sampler.HTTP2Request.sample(HTTP2Request.java:153)
at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:622)
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:546)
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:486)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:253)

the same request by include controller import, work ..

And I don't understand why : if the request parameter : synchronized is uncheck only the first call is process ...

The issue is in the tool side (simulap) as same scenario are working with previoous simulap and java version.

Context
Project context: CMS5G INTEGRATION
Team context:
Severity: HIGH
SIMULAP version: 30.00
Profile deployed: SIMULAP_5G_TESTING.yml
JDK:
java-11-openjdk-headless-11.0.8.10-0.el7_8.x86_64
java-11-openjdk-src-11.0.8.10-0.el7_8.x86_64
java-11-openjdk-devel-11.0.8.10-0.el7_8.x86_64
java-11-openjdk-11.0.8.10-0.el7_8.x86_64

Impact
Tests are reporting errors, and it was not the case with previous version user simulap 19.12 with JDK8

simulap30_loop_error.zip

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions