Error while automating performance testing using Bamboo

0 votes

I'm trying to automate the performance testing using Bamboo. 

I have the following script

/bin/bash   
cd ${bamboo.capability.system.builder.command.JMeter 3} -n -t \
jmeterscript.jmx -l ${bamboo.build.working.directory}/example.jtl  
#runtime the value will be    
#${bamboo.capability.system.builder.command.JMeter 3}   
# (which is interpolated to `/opt/apache-jmeter-3/bin/jmeter`)  

It throws me the following error:

can't cd to /opt/apache-jmeter-3/bin/jmeter  
   Unable to publish artifact [jmeter_jtl]: the source directory 
   /media/ephemeral0/build-dir/GDA-AP10-JOB1/output does not exist.
Mar 4 in DevOps Tools by Nisha
25 views

1 answer to this question.

0 votes

Hey @Nisha, the command you're using is to change the directory and the directory you've mentioned does not exist. Try the following command:

${bamboo.capability.system.builder.command.JMeter 3} -n -t \jmeterscript.jmx -l ${bamboo.build.working.directory}/example.jtl
answered Mar 4 by Yesha

Related Questions In DevOps Tools

0 votes
1 answer

running comands as non-root user while using docker-maven plugin

Docker needs root access therefore maven commands ...READ MORE

answered Apr 30, 2018 in DevOps Tools by ajs3033
• 7,280 points
535 views
0 votes
1 answer
+4 votes
4 answers

perform Git checkout using Groovy script

To do git commit: def getGitCommit() { ...READ MORE

answered Dec 6, 2018 in DevOps Tools by Vaidya
6,686 views
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
152 views
0 votes
1 answer
0 votes
1 answer

Getting an Error while trying to push changes to cloud foundry

Here is an approach which you can ...READ MORE

answered Jul 19, 2018 in DevOps Tools by Atul
• 10,240 points
186 views