If yes, then please let me know the dependence for your jar file.
Our SDK is not yet published in Maven.
You can use maven and reference the local JAR file however like this:
<dependency> <groupId>io.testproject</groupId> <artifactId>java-sdk</artifactId> <version>1.0</version> <systemPath>__PATH_TO_LOCAL_JAR__</systemPath> <scope>system</scope> </dependency>
ok fine. so if I will use this dependancy then will it be upload in testproject?
No, please read documentation.
Please read again the packaging section: https://github.com/testproject-io/java-sdk-examples/tree/master/Web#packaging
You should not include the SDK in the final JAR you will upload to TestProject
ok understand. that means I need to remove SDK dependency when I will convert it into jar.
but one query is that if I will remove SDK dependency then code will show error. so will it work fine in testproject?
When your TestProject Agent will execute the code you uploaded it will load into memory the SDK.