0

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.

1 Answer 1

1

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.
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.