If a PATCH request has a body within Postman, it is not carried over to the jmx file.
It seems this is because there is no PATCH in this condition ->
|
if (HttpMethod.POST.equalsIgnoreCase(httpSamplerProxy.getMethod()) || HttpMethod.PUT.equalsIgnoreCase(httpSamplerProxy.getMethod()) || HttpMethod.DELETE.equalsIgnoreCase(httpSamplerProxy.getMethod())) { |
The PATCH was introduced in Java WS RS API v2.1 -> https://javaee.github.io/javaee-spec/javadocs/javax/ws/rs/HttpMethod.html
I can see from the pom.xml there is a dependency on jMeter v4.0 which refers to Javax WS RS API v2.0.1.
Is there are any plans to have the dependency of jMeter changed to a newer version? I can raise a PR using a newer version of jMeter or a PR using jMeter v4 with a string constant for the PATCH in the above line.
If a PATCH request has a body within Postman, it is not carried over to the jmx file.
It seems this is because there is no PATCH in this condition ->
postman2jmx/src/main/java/com/loadium/postman2jmx/builder/JmxRawBodyBuilder.java
Line 20 in 5207d90
The PATCH was introduced in Java WS RS API v2.1 -> https://javaee.github.io/javaee-spec/javadocs/javax/ws/rs/HttpMethod.html
I can see from the pom.xml there is a dependency on jMeter v4.0 which refers to Javax WS RS API v2.0.1.
Is there are any plans to have the dependency of jMeter changed to a newer version? I can raise a PR using a newer version of jMeter or a PR using jMeter v4 with a string constant for the PATCH in the above line.