I would like to display the 90th percentile for a request in jmeter using unix command line.iam not able to do so.
i have enabled the flags in jmeter.properties are aggregate_rpt_pct1 =90 , aggregate_rpt_pct2=95 & aggregate_rpt_pct3=99.
But still iam not able to display.Iam using the commands
./jmeter.sh -n -t examples/LTTest_unix.jmx -l /testing12.csv -e -o /bin/outputreports
Iam not able to get the 90th percentile.
please find the screenshot for the same.enter image description here
please help on this.What should i do to get the 90th,99th percentile in non-gui mode in linux
If you want to see 90% percentile for the same in the unix command line you need to install JMeterPluginsCMD Command Line Tool and run an extra command to generate the same from the .jtl results file.
Install JMeter Plugins Manager, you will need to execute the following command from "bin" folder of your JMeter installation for the same
wget https://jmeter-plugins.org/get/ -O ../lib/ext/jmeter-plugins-manager.jar
Install cmdrunner. You will need to run the following commands for the same:
wget https://repo1.maven.org/maven2/kg/apc/cmdrunner/2.3/cmdrunner-2.3.jar -P ../lib/
and
wget https://repo1.maven.org/maven2/kg/apc/cmdrunner/2.3/cmdrunner-2.3.jar -P ../lib/
Install necessary plugins: JMeterPluginsCMD Command Line Tool and Synthesis Report. You will need to run the following commands for the same:
java -cp ../lib/ext/jmeter-plugins-manager.jar org.jmeterplugins.repository.PluginManagerCMDInstaller
and
./PluginsManagerCMD.sh install jpgc-cmd,jpgc-synthesis
Run your test using the same command you're using for the same
Generate CSV version of the Aggregate Report, you can run below command for the same:
./JMeterPluginsCMD.sh --generate-csv /desired/path/to/CSV/version/of/aggregate/report.csv --input-jtl /path/to/your/test/result.jtl --plugin-type AggregateReport
In addition
You don't need to amend any JMeter properties to get 90 percentile, all your overrides match default values they are the same
Any configuration overrides should go to user.properties file, this way they can survive upgrades
Related
Setup
I'm following the installation directions in the mirthSync readme, which is to clone the repo. The next indication of usage that I can see is in the Examples section, which via CLI is to "pull Mirth Connect code from a Mirth Connect instance":
java -jar mirthsync.jar -s https://localhost:8443/api -u admin -p admin pull -t /home/user/
I'm assuming that after cloning the repo, one should cd into that directory and then run the java -jar... command with all the appropriate flag values (server, username, password, etc).
Error
After running the CLI command, I get this error:
Error: Unable to access jarfile mirthsync.jar
Question
Where is this mirthsync.jar file supposed to come from? Is there something I need to do in order to generate the mirthsync.jar file?
Generate it via lein uberjar (which creates target/uberjar/*-standalone.jar) or download it from a release.
This is a question related to using docker to run scripts of RStudio. The problem I'm having is that the person evaluating the results I'm getting wants to have it so that they type in ./test.sh in the command window, that runs my R script, and a csv of my results prints out to the local directory.
Is it possible to get the rocker rstudio to appear in the command window as opposed to having to log into the browser to use rstudio? It seems all the resources online say something along the lines of put -p 8002:8787 and -d in the docker line of code, but this makes it so you have to go to a local browser to actually run your R script.
I've found this code snippet works, but is there an alternative to using \bin\bash at the end so that the rstudio commands can just stay in the window?
$ docker run -e PASSWORD=MYPASSWORD -v "$(pwd):/data:ro" -v "$(pwd):/workdir" -it thatguy /bin/bash
Or, better yet, is there a way to put this docker run command in my Dockerfile so that when I run my $ docker build this line just runs automatically?
I apply Pitest (PIT) using Maven to Java projects to conduct a mutation analysis. The console's pipe operator only catches Maven-related output but not output by PIT. (This happens both on Linux and Windows.)
How can I redirect the logging output shown on the console to a file?
Maven output are going to stdout while some PIT logs are going to stderr. You need to also redirect stderr to get all logs.
# this will write both outputs to a file
mvn clean install &> both-outputs.log
# this will also write both outputs to a file
mvn clean install > both-outputs.log 2>&1
# to pipe both outputs you need to do this
mvn clean install 2>&1 | any-command-reading-from-stdin
I am running an SFTP batch to get a series of files from one unix server to another. I have a shell script that builds the batch files like:
cd path
get filename
cd path
get filename
and more.
Is there a way within SFTP to NOT run a get command if the preceding cd command fails, but keep running the rest of the batch?
To be clear, I do NOT want to terminate the whole SFTP batch, just the one get command if it's related cd command does not work.
After each cd check error code, if it is 0, everything is fine. If not, some error occured in last command...
Like:
cd directory
if [!$?]
then
get something
fi
Is there any way to automatically update R on Mac OS X to the latest patched version (R-Patched) on a daily basis or some predetermined intervals?
My impression is that compiling from source is the most (only?) reliable way to get the most recent patched version, but I could be wrong about this. A simple shell script to download the latest patched version and recompile would be:
curl -o /tmp/R-patched.tar.gz ftp://ftp.stat.math.ethz.ch/Software/R/R-patched.tar.gz
tar xzvf /tmp/R-patched.tar.gz
cd /tmp/R-patched
./configure
make
cp bin/R <old_R_binary_location>
You could then use crontab to run this at regular intervals. I don't find the crontab man page to be very helpful, so I always end up referring back to guides such as this one.
I have a bash script that installs the daily patched build from http://r.research.att.com. Installed libraries remain untouched, except for those in core.
I update manually, but you could set up a cron job as #bnaul suggests. I'm not sure how it will handle the need for sudo'ing, however. You might have to move your R out of /Library/Frameworks and then change the script accordingly.
#!/bin/bash
curl -s http://r.research.att.com/R-2.13-branch-leopard-universal.tar.gz | sudo tar fvxz - -C /