-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #157 from atlassian/release/1.3.0-beta
Release 1.3.0 beta
- Loading branch information
Showing
37 changed files
with
3,066 additions
and
1,259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
--- | ||
settings: | ||
artifacts-dir: results/bitbucket/%Y-%m-%d_%H-%M-%S | ||
aggregator: consolidator | ||
verbose: false | ||
env: | ||
application_hostname: test_bitbucket_instance.atlassian.com # Bitbucket DC hostname without protocol and port e.g. test-bitbucket.atlassian.com or localhost | ||
application_protocol: http # http or https | ||
application_port: 80 # 80, 443, 8080, 2990, etc | ||
application_postfix: # e.g. /bitbucket in case of url like http://localhost:2990/bitbucket | ||
admin_login: admin | ||
admin_password: admin | ||
concurrency: 20 | ||
test_duration: 50m | ||
WEBDRIVER_VISIBLE: False | ||
JMETER_VERSION: 5.2.1 | ||
allow_analytics: Yes # Allow sending basic run analytics to Atlassian. These analytics help us to understand how the tool is being used and help us to continue to invest in this tooling. For more details please see our README. | ||
services: | ||
- module: shellexec | ||
prepare: | ||
- python util/environment_checker.py | ||
- python util/data_preparation/bitbucket/prepare-data.py | ||
shutdown: | ||
- python util/jtl_convertor/jtls-to-csv.py kpi.jtl selenium.jtl | ||
post-process: | ||
- python util/analytics.py bitbucket | ||
execution: | ||
- scenario: jmeter | ||
concurrency: ${concurrency} | ||
hold-for: ${test_duration} | ||
ramp-up: 10m | ||
- scenario: selenium | ||
executor: selenium | ||
runner: pytest | ||
hold-for: ${test_duration} | ||
scenarios: | ||
selenium: | ||
script: selenium_ui/bitbucket_ui.py | ||
jmeter: | ||
script: jmeter/bitbucket.jmx | ||
properties: | ||
admin_login: ${admin_login} | ||
admin_password: ${admin_password} | ||
application_hostname: ${application_hostname} | ||
application_protocol: ${application_protocol} | ||
application_port: ${application_port} | ||
application_postfix: ${application_postfix} | ||
total_actions_per_hr: 32700 | ||
tmp_dir: /tmp | ||
ssh_key_url: https://centaurus-datasets.s3.us-east-2.amazonaws.com/bitbucket/ssh/id_rsa | ||
modules: | ||
consolidator: | ||
rtimes-len: 0 # CONFSRVDEV-7631 reduce sampling | ||
percentiles: [] # CONFSRVDEV-7631 disable all percentiles due to Taurus's excessive memory usage | ||
jmeter: | ||
version: ${JMETER_VERSION} | ||
detect-plugins: true | ||
memory-xmx: 8G # allow JMeter to use up to 8G of memory | ||
plugins: | ||
- bzm-parallel=0.4 | ||
- bzm-random-csv=0.6 | ||
- jpgc-casutg=2.5 | ||
- jpgc-dummy=0.2 | ||
- jpgc-ffw=2.0 | ||
- jpgc-fifo=0.2 | ||
- jpgc-functions=2.1 | ||
- jpgc-json=2.6 | ||
- jpgc-perfmon=2.1 | ||
- jpgc-prmctl=0.4 | ||
- jpgc-tst=2.4 | ||
- jpgc-wsc=0.3 | ||
- tilln-sshmon=1.0 | ||
- jpgc-cmd=2.2 | ||
- jpgc-synthesis=2.2 | ||
system-properties: | ||
server.rmi.ssl.disable: true | ||
java.rmi.server.hostname: localhost | ||
httpsampler.ignore_failed_embedded_resources: "true" | ||
selenium: | ||
chromedriver: | ||
version: "80.0.3987.16" # Supports Chrome version 80. You can refer to http://chromedriver.chromium.org/downloads | ||
reporting: | ||
- data-source: sample-labels | ||
module: junit-xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PRJ-1,5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
prj-1000-repo-1,PRJ-1000,perf-branch-56,master,perf-branch-55,master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
prj-1000-repo-1,PRJ-1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3,user-1,user-1 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
from selenium.webdriver.common.by import By | ||
from selenium.webdriver.support import expected_conditions as ec | ||
|
||
from selenium_ui.confluence.modules import _wait_until | ||
from selenium_ui.conftest import print_timing | ||
from util.conf import BITBUCKET_SETTINGS | ||
|
||
APPLICATION_URL = BITBUCKET_SETTINGS.server_url | ||
timeout = 20 | ||
|
||
|
||
def custom_action(webdriver, datasets): | ||
@print_timing | ||
def measure(webdriver, interaction): | ||
@print_timing | ||
def measure(webdriver, interaction): | ||
webdriver.get(f'{APPLICATION_URL}/plugins/servlet/some-app/reporter') | ||
_wait_until(webdriver, ec.visibility_of_element_located((By.ID, "plugin-element")), interaction) | ||
|
||
measure(webdriver, 'selenium_app_custom_action:view_report') | ||
|
||
@print_timing | ||
def measure(webdriver, interaction): | ||
webdriver.get(f'{APPLICATION_URL}/plugins/servlet/some-app/administration') | ||
_wait_until(webdriver, ec.visibility_of_element_located((By.ID, "plugin-element")), interaction) | ||
|
||
measure(webdriver, 'selenium_app_custom_action:view_dashboard') | ||
|
||
measure(webdriver, 'selenium_app_custom_action') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.