am trying to upload a file from Jmeter to azure fileshare location but Jmeter throwing below error.
2025-02-07 12:27:22,939 INFO c.a.c.i.j.JacksonVersion: Package versions: jackson-core=2.17.2, jackson-databind=2.17.2, jackson-dataformat-xml=2.17.2, jackson-datatype-jsr310=2.17.2, azure-core=1.53.0, Troubleshooting version conflicts:
2025-02-07 12:27:22,939 ERROR c.a.c.i.j.ObjectMapperShim: Package versions: jackson-core=2.17.2, jackson-databind=2.17.2, jackson-dataformat-xml=2.17.2, jackson-datatype-jsr310=2.17.2, azure-core=1.53.0, Troubleshooting version conflicts:
2025-02-07 12:27:22,939 WARN r.c.Exceptions: throwIfFatal detected a jvm fatal exception, which is thrown and logged below:
java.lang.LinkageError: Package versions: jackson-core=2.17.2, jackson-databind=2.17.2, jackson-dataformat-xml=2.17.2, jackson-datatype-jsr310=2.17.2, azure-core=1.53.0, Troubleshooting version conflicts:
help me which Jackson dependencies and the Azure SDK versions are compatible to upload file to azure fileshare location from jmeter.
am trying to upload a file from Jmeter to azure fileshare location but Jmeter throwing below error.
2025-02-07 12:27:22,939 INFO c.a.c.i.j.JacksonVersion: Package versions: jackson-core=2.17.2, jackson-databind=2.17.2, jackson-dataformat-xml=2.17.2, jackson-datatype-jsr310=2.17.2, azure-core=1.53.0, Troubleshooting version conflicts: https://aka.ms/azsdk/java/dependency/troubleshoot
2025-02-07 12:27:22,939 ERROR c.a.c.i.j.ObjectMapperShim: Package versions: jackson-core=2.17.2, jackson-databind=2.17.2, jackson-dataformat-xml=2.17.2, jackson-datatype-jsr310=2.17.2, azure-core=1.53.0, Troubleshooting version conflicts: https://aka.ms/azsdk/java/dependency/troubleshoot
2025-02-07 12:27:22,939 WARN r.c.Exceptions: throwIfFatal detected a jvm fatal exception, which is thrown and logged below:
java.lang.LinkageError: Package versions: jackson-core=2.17.2, jackson-databind=2.17.2, jackson-dataformat-xml=2.17.2, jackson-datatype-jsr310=2.17.2, azure-core=1.53.0, Troubleshooting version conflicts: https://aka.ms/azsdk/java/dependency/troubleshoot
help me which Jackson dependencies and the Azure SDK versions are compatible to upload file to azure fileshare location from jmeter.
Share Improve this question asked Feb 7 at 7:19 Renuka Renuka 213 bronze badges1 Answer
Reset to default 1- JMeter 5.6.3 comes with jackson 2.16.1
- Azure SDK 1.53.0 comes with jackson 2.17.2
You're getting this error due to having 2 different versions of same library in classpath
The options are in:
- remove jackson libraries from lib folder of your JMeter installation
- remove jackson libraries from azure sdk
- consider other ways of uploading files, like you can mount azure fileshare as NFS or SMB/CIFS and access it like a local hard drive so the file can be copied using OS Process Sampler
- There is Azure Files REST API, you can upload your file via normal JMeter's HTTP Request sampler, see REST API Testing: How to Do it Right article for more information on the concept.