Jmeter Jtl files are not getting created - jmeter-maven-plugin

I have created a maven project. Jmeter scripts are running fine but Jtl files are not getting created.
If we run the scripts from maven from Command line I am getting HTML report but when running the same from Jenkins I am not getting data in the HTML report.
Can someone help on this please

When running from jenkins the results will be created by default in jenkins build folder. Did you check the folder with the right build number?

Related

Adding & configure .jar files in the jasper svn repository

I have created a jasper report using Jaspersoft Studio 6.19.1. This report utilizes a referenced jar file. The report works fine when running it locally. However, I'm getting an error when running the report from the repository. The error is unable to resolve referenced java class. My question what is the correct way to add and configure a jar file to the server?
Thank you

Eclipse Project not working in Jenkins

I have a Maven Project that creates a table in AWS DynamoDB and push few values to it. This project is built in Eclipse. But when I try to do a Maven build of same project in Jenkins, the Build Status is successful. But no table is getting created in DynamoDB. Is it because the created .jar file after build in Jenkins is not getting executed? In that case, I tried to add a batch command to execute the created .jar file as java -jar "samples-1.0.0.jar". Then, I am getting an error as no main manifest attribute, in samples-1.0.0.jar. Why is this not happening in Jenkins while it works fine with Eclipse ?

How to create a executable Jar file for the Groovy script developed using Eclipse IDE

I have developed groovy script to run the Automation Testing using Eclipse IDE. The code generally triggers the Web service based on the input and Validates the responses.
I have exported the jar file by right clicking the project. The jar file is created.
But when I try to run the jar using Command prompt I am facing an error.
Can anyone please help me how to create a executable jar for the Groovy script

automatic build and deploy fails with build failure on jazzhub

I am trying to use the feature of jazzhub (IBM DevOps offerings) of automatically build and deploy on Bluemix. I have used Eclipse plugin for Jazzhub to check in my code to my project. However automatic build always fails with the below type of error.
using .gitcredentials to set credentials
Checking out Revision a0b1e7c78b02e82ad210bc369cdd633212cb544f (origin/master)
First time build. Skipping changelog.
[47f4a135-016e-4a75-bb42-f9a9fda6df05] $ /bin/bash /tmp/hudson3124921405781328608.sh
Buildfile: build.xml does not exist!
Build failed
Build step 'Execute shell' marked build as failure
Connecting to https://P90JEN01.sl.jazz.net:9444*
I am able to build and deploy the same code base from Eclipse directly to bluemix. My understanding is that DevOps service create build.xml file automatically if It does not find one. The document says it
"A project relative path where the build scripts are found and executed. The project root will be used if empty. A default build script (e.g., Ant build.xml file or Grunt Gruntfile.js file) will be generated and delivered to your source control system if one is not found. You may need to edit the generated build script to fit your needs".
Can anyone help me here? how to get pass this error and make a build successfully deployed ?
I believe we may need to create build.xml if you are using ant script:
http://thoughtsoncloud.com/2014/10/create-deploy-stand-alone-java-application-ibm-bluemix/
"The next step is to create the script to build the code. In this example, I created an .ant script. You can write in the language of your choice from the options supported in Bluemix. Create a file named build.xml and write the .ant build script."

Eclipse Helios Deployment Issue

I am using Helios Version of Eclipse. I am having an issue using that. I have created a Dynamic Web project there. I have some .jar files under WebRoot/WEB-INF/lib folder. With all other .jar files I have a .jar file called iText-2.1.5.jar. I am using GlassFish server as a Application Server. Now issue is, when I am trying to add this project to the server only previously mentioned .jar file adding seperately into the server . When I am trying to publish any change into the server it is showing an error message like 'Publish failed using Ant publisher Could not delete [.JAR] file....' . To avoid this problem everytime I have to stop the server and manually delete the .jar file from the specific location and then restart the server. This is very time consuming process. Can you guys please solve this problem?
Thanks is advance.
Somnath Guha