Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tests_api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
tests_api
Commits
dd419d6b
Commit
dd419d6b
authored
2 years ago
by
Krzysztof Mochocki
Committed by
Bartek Wrona
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add cache check in jmeter setp script
parent
6c9bc5dd
No related branches found
No related tags found
1 merge request
!249
Add benchmark tests for block_api
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/setup_jmeter.bash
+7
-1
7 additions, 1 deletion
benchmarks/setup_jmeter.bash
with
7 additions
and
1 deletion
benchmarks/setup_jmeter.bash
+
7
−
1
View file @
dd419d6b
...
@@ -6,6 +6,11 @@ WORKDIR=jmeter
...
@@ -6,6 +6,11 @@ WORKDIR=jmeter
JMETER_DOWNLOAD_URL
=
"https://dlcdn.apache.org//jmeter/binaries/apache-jmeter-5.4.3.zip"
JMETER_DOWNLOAD_URL
=
"https://dlcdn.apache.org//jmeter/binaries/apache-jmeter-5.4.3.zip"
JMETER_POSTGRES_DOWNLOAD_URL
=
"https://jdbc.postgresql.org/download/postgresql-42.3.1.jar"
JMETER_POSTGRES_DOWNLOAD_URL
=
"https://jdbc.postgresql.org/download/postgresql-42.3.1.jar"
if
[[
-f
"
$WORKDIR
/activate"
]]
;
then
echo
"using cached jmeter"
exit
0
fi
echo
"creating work directory"
echo
"creating work directory"
mkdir
-p
"
$WORKDIR
"
mkdir
-p
"
$WORKDIR
"
...
@@ -32,7 +37,8 @@ mv apache* apache
...
@@ -32,7 +37,8 @@ mv apache* apache
echo
"For handy usage, execute following command"
echo
"For handy usage, execute following command"
echo
"echo 'export JMETER=
$JMETER
' >> ~/.bashrc"
echo
"echo 'export JMETER=
$JMETER
' >> ~/.bashrc"
echo
"JMETER=
$JMETER
"
>
activate
echo
"testing is jmeter properly configured"
echo
"testing is jmeter properly configured"
$JMETER
--version
&&
echo
"ok."
$JMETER
--version
popd
popd
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment