Skip to content

dandn/dinardoAssignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The contents of this project contain two components:

  1. JUnit tests to address the requirements as outlined in the user stories.
  2. JMeter tests to load test functional behaviour and measure performance.

My test project has been developed using the following software versions:

  • macOS 10.12.6
  • Apache Maven 3.5.0
  • Eclipse 4.7.0

Required: ChromeDriver (tested with 2.37), https://sites.google.com/a/chromium.org/chromedriver
Required: JMeter (tested with Apache JMeter 4.0), http://jmeter.apache.org/download_jmeter.cgi
Required: Java 1.8 (tested with Java 1.8.0_144)

Assumption: With reference to https://github.com/ace-study-group/assignment-qa/blob/master/README.md, I assume that the test system is running the web app as described in the section “Run the app”.


INSTRUCTIONS:

A) For the JUnit tests:
i) Set the correct locations for the ChromeDriver and the Petstore web URL, in file:
  src/test/java/assignmentQA/InitializeEnvironment.java,
 within the methods configureChromeDriver() and getWebAppLocation(), respectively.
ii) To run the tests enter mvn test at the command line prompt (or within Eclipse of course).
iii) The test results should be saved to the directory: target/surefire-reports.

B) For the JMeter tests:
i) Open the file performanceTests.sh.
ii) Set the correct parameter values for: JMETER_INSTALLDIR, IPADDRESS, PORT.
 There are some other parameters that can optionally be modified - see code comments.
iii) To run the tests enter ./performanceTests.sh at the command line prompt.
iv) The test results should be saved to the directory: JTL_TARGETDIR, as set within the file performanceTests.sh.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published