Skip to content

Commit 53b9b29

Browse files
authored
Merge pull request #53 from atlassian/release-1.1.0-beta
Release 1.1.0 beta
2 parents 4e0100a + cb3eb83 commit 53b9b29

File tree

91 files changed

+13015
-688
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+13015
-688
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
.idea/
22
outputs/
33
**/results/
4-
**/datasets/*.csv
4+
**/datasets/*/*.csv
55
*venv*
66
.DS_Store
77
*.swp
88
*.iml
99
*.log
1010
*.pyc
11+
local_*.yml

README.md

Lines changed: 18 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,24 @@ This repository contains Taurus scripts for performance testing of Atlassian Dat
55

66
At the moment, Jira DC support is in beta. Confluence DC and Bitbucket DC support is coming soon.
77

8-
## Known issues/limitations
8+
## Supported versions
99
* Supported Jira versions:
10-
* Latest platform release: 8.0.3
11-
* Latest enterprise release: 7.13.6
12-
* The SQL import is flaky. In case of a failure, run it again.
10+
* The latest Platform Release: 8.0.3
11+
* The following Jira [Enterprise Releases](https://confluence.atlassian.com/enterprise/atlassian-enterprise-releases-948227420.html): 7.13.6 and 8.5.0
12+
13+
* Supported Confluence versions:
14+
* The latest Confluence [Enterprise Release](https://confluence.atlassian.com/enterprise/atlassian-enterprise-releases-948227420.html): 6.13.8
1315

1416
## Installation and set up
1517

1618
#### Dependencies
1719
* Python 3.6+ and pip
1820
* JDK 8
19-
* Google Chrome web browser, version 76
21+
* Google Chrome web browser.
22+
23+
Please make sure you have a version of Chrome browser that is compatible with [ChromeDriver](http://chromedriver.chromium.org/downloads) version set in app/%product%.yml file (modules->selenium->chromedriver->version).
24+
25+
If a first part of ChromeDriver version does not match with a first part of your Chrome browser version, update Chrome browser or set compatible [ChromeDriver](http://chromedriver.chromium.org/downloads) version in .yml file.
2026

2127
### macOS/Linux
2228
Make sure that you have [Python](https://www.python.org/downloads/) 3.6+, pip, and [JDK 8](https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) installed:
@@ -25,7 +31,6 @@ python3 --version
2531
pip --version
2632
java -version
2733
```
28-
Check that Chrome browser version is 76.
2934

3035
We recommend using virtualenv for Taurus.
3136

@@ -41,22 +46,12 @@ virtualenv venv -p python3
4146
```
4247
source venv/bin/activate
4348
```
44-
4. Install bzt:
45-
```
46-
pip install bzt==1.13.8
49+
4. Install dependencies:
4750
```
48-
5. Install dependencies:
49-
```
50-
cd jira
5151
pip install -r requirements.txt
5252
```
5353

54-
5554
### Windows
56-
There are two ways of installing Taurus on Windows.
57-
One way is to use the prebuilt installer that will install latest Taurus on your PC including local Python 3.6 and all its dependencies.
58-
However, if you already have Python installed, you can install Taurus manually with pip, Python package manager.
59-
6055
#### Installing Taurus manually
6156
Make sure you have [Python](https://www.python.org/downloads/) 3.6+, pip, and [JDK 8](https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) installed:
6257
```
@@ -65,7 +60,6 @@ pip --version
6560
java -version
6661
Microsoft Visual C++ 14
6762
```
68-
Check that Chrome browser version is 76.
6963

7064
Make sure you have Visual Studio build tool v14.22 installed.
7165
Otherwise, download it from [Microsoft Visual C++ Build Tools:](https://visualstudio.microsoft.com/downloads) and do the following:
@@ -75,7 +69,6 @@ Otherwise, download it from [Microsoft Visual C++ Build Tools:](https://visualst
7569
4. Select the **MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.22)** check box (clear all the others).
7670
5. Click **Install**.
7771

78-
7972
We recommend using virtualenv for Taurus.
8073

8174
1. Install virtualenv with pip:
@@ -90,31 +83,20 @@ virtualenv venv -p python
9083
```
9184
venv\Scripts\activate
9285
```
93-
4. Install bzt:
94-
```
95-
pip install bzt==1.13.8
96-
```
97-
5. Install dependencies:
86+
4. Install dependencies:
9887
```
99-
cd jira
10088
pip install -r requirements.txt
10189
```
10290

103-
#### Installing Taurus with prebuilt installer
104-
Download an [installer](https://gettaurus.org/builds/TaurusInstaller_1.13.8_x64.exe) and run it.
105-
It will install local Python 3.6 and Taurus with all its dependencies.
106-
107-
`bzt-pip` is a wrapper for pip that can be used to install packages.
108-
109-
Install dependencies:
91+
## Upgrading
92+
If you see "There is newer version of Taurus available, consider upgrading." warning message during your
93+
test execution, please use the next command to apply the upgrade in your virtual environment.
11094
```
111-
cd jira
112-
bzt-pip install setuptools wheel
113-
bzt-pip install -r requirements.txt
95+
pip install -r requirements.txt
11496
```
11597

11698
## Additional info
11799
Official Taurus installation instructions are located [here](https://gettaurus.org/docs/Installation/).
118100

119101
## Running Taurus
120-
Navigate to product folder and follow README.md instructions.
102+
Navigate to [docs](docs) folder and follow instructions.

app/confluence.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
---
2+
settings:
3+
artifacts-dir: results/confluence/%Y-%m-%d_%H-%M-%S
4+
aggregator: consolidator
5+
verbose: false
6+
env:
7+
application_hostname: test_confluence_instance.atlassian.com # Confluence DC hostname without protocol and port e.g. test-jira.atlassian.com or localhost
8+
application_protocol: http # http or https
9+
application_port: 80 # 80, 443, 8080, 2990, etc
10+
application_postfix: # e.g. /jira in case of url like http://localhost:2990/jira
11+
admin_login: admin
12+
admin_password: admin
13+
concurrency: 200
14+
test_duration: 45m
15+
WEBDRIVER_VISIBLE: False
16+
JMETER_VERSION: 5.1
17+
services:
18+
- module: shellexec
19+
prepare:
20+
- python util/data_preparation/confluence/prepare-data.py
21+
shutdown:
22+
- python util/jtl_convertor/jtls-to-csv.py kpi.jtl selenium.jtl
23+
execution:
24+
- scenario: jmeter
25+
concurrency: ${concurrency}
26+
hold-for: ${test_duration}
27+
ramp-up: 3m
28+
- scenario: selenium
29+
executor: selenium
30+
runner: pytest
31+
hold-for: ${test_duration}
32+
scenarios:
33+
selenium:
34+
script: selenium_ui/confluence-ui.py
35+
jmeter:
36+
script: jmeter/confluence.jmx
37+
properties:
38+
application_hostname: ${application_hostname}
39+
application_protocol: ${application_protocol}
40+
application_port: ${application_port}
41+
application_postfix: ${application_postfix}
42+
# Workload model
43+
total_actions_per_hr: 20000
44+
perc_view_page: 54
45+
perc_view_dashboard: 6
46+
perc_view_blog: 8
47+
perc_search_cql: 7
48+
perc_create_blog: 3
49+
perc_create_and_edit_page: 6
50+
perc_comment_page: 5
51+
perc_view_attachment: 3
52+
perc_upload_attachment: 5
53+
perc_like_page: 3
54+
perc_standalone_extension: 0 # By default disabled
55+
modules:
56+
consolidator:
57+
rtimes-len: 0 # CONFSRVDEV-7631 reduce sampling
58+
percentiles: [] # CONFSRVDEV-7631 disable all percentiles due to Taurus's excessive memory usage
59+
jmeter:
60+
version: ${JMETER_VERSION}
61+
detect-plugins: true
62+
memory-xmx: 8G # allow JMeter to use up to 8G of memory
63+
plugins:
64+
- bzm-parallel=0.4
65+
- bzm-random-csv=0.6
66+
- jpgc-casutg=2.5
67+
- jpgc-dummy=0.2
68+
- jpgc-ffw=2.0
69+
- jpgc-fifo=0.2
70+
- jpgc-functions=2.1
71+
- jpgc-json=2.6
72+
- jpgc-perfmon=2.1
73+
- jpgc-prmctl=0.4
74+
- jpgc-tst=2.4
75+
- jpgc-wsc=0.3
76+
- tilln-sshmon=1.0
77+
- jpgc-cmd=2.2
78+
- jpgc-synthesis=2.2
79+
system-properties:
80+
server.rmi.ssl.disable: true
81+
java.rmi.server.hostname: localhost
82+
httpsampler.ignore_failed_embedded_resources: "true"
83+
selenium:
84+
chromedriver:
85+
version: "78.0.3904.70" # Supports Chrome version 78. You can refer to http://chromedriver.chromium.org/downloads
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
datasets/confluence/static-content/upload/test1.png,image/png,test1.png
2+
datasets/confluence/static-content/upload/test2.jpg,image/jpeg,test2.jpg
3+
datasets/confluence/static-content/upload/test3.png,image/png,test3.png
4+
datasets/confluence/static-content/upload/test4.png,image/png,test4.png
5+
datasets/confluence/static-content/upload/test5.jpg,image/jpeg,test5.jpg
6+
datasets/confluence/static-content/upload/test.pdf,application/pdf,test.pdf
7.82 MB
Binary file not shown.
341 KB
Loading
454 KB
Loading
416 KB
Loading
408 KB
Loading
479 KB
Loading

0 commit comments

Comments
 (0)