fbpx

Get Cheapest Assignment in Australia, UK, US, UAE, Canada and NZ Order Now

SENG8030 Assignment #3 – System Testing Tools

0 Comments

SENG8030 System Testing Tools Assignment Help Conestoga                                                                         

Assignment #3 – System Testing Tools – due November 24th, 2021 @ 3:00PM

75 Marks – worth 7.5%

 This is an individual based assignment. Do your own work and do not share your work with others outside of your group. Sharing work is an Academic Offense and is subject to a penalty. Be aware that all source code and other documentation is automatically checked by eConestoga upon submission. If you research and use material that is not yours, please provide the proper citations / references to them.

For this assignment, we are going to research into a popular System/Performance Testing Tool, namely Apache JMeter to performance test a local website.

Apache JMeter  

JMeter Setup

  • Ensure that you have Java 8 installed on your computer – if not, click here.
  • Navigate to the “Download Apache JMeter” site and click on the .zip file found under the Binaries section:

(Figure Reference: https://jmeter.apache.org/download_jmeter.cgi, Available Online, Retrieved: March 12, 2021)

  • Extract the files into a place on your PC’s hard drive.

You should see something similar to the following after the files have been extracted:

  • Go into the ‘bin’ directory and find and double-click on the “jmeter.bat” file to start JMeter
  • This will start up a command prompt as well as the JMeter UI – don’t close either, otherwise JMeter will stop
  • You should now see the main JMeter UI as follows:

Website Setup

  • Ensure that you have XAMPP installed and operational on your computer and start up the Apache Server
  • (you can review the steps of downloading / starting XAMPP from Assignment #1)
  • From eConestoga, download and place the seng8030a03.html file along with the three (3) .jpg files that are provided, directly into the XAMPP\htdocs folder.
  • You should now be able to access this website by going to: http://localhost/seng8030a03.html

Performance Testing

Add a “Thread Group” to your Test Plan within JMeter

Under the “Thread Group”, add a “Sampler” of type “HTTP Request”

Ensure that your HTTP Request is setup as follows (Server Name or IP: localhost and Path: seng8030a03.html):

Also, on the Advanced tab from your HTTP Request, ensure that the “Response” has a value of 5000 (you may wish to increase this to 8000 or 10000 if you receive errors in your test), and the “Retrieve All Embedded Resources” and “Parallel downloads” options are selected:

Under the HTTP Request, add a “Listener” of type “Summary Report”

Be sure to also setup and execute the Perfmon Server Agent on your PC that will monitor the CPU, and Memory statistics.  In doing so, also setup the necessary jp@gc – Perfmon Metrics Listener to capture these statistics.

Execute your test for the following number of users (individually): 1, 2, 3, 4, 5, 10, 15, 20, 25 and 50. In each case, use a “Loop Count” of 10,000. Feel free to increase the Loop Count (to 100,000 or even 1,000,000) for especially the lower number of users so that you have at least a few minutes of data captured for each test – the more data, the better 😊

For each test (i.e. number of users), screen capture the screenshot of the “Summary Report” table in JMeter as well as the plot of the CPU and Memory usage. Once you have all of your data, open up MS Excel, and plot a line graph of the Average Response Time (ms) vs. Number of Users.  Keep an eye out for the Avg. Bytes as it should show a value about 4.65MB as well as your Error count should be as low as possible.

 Submissions

The format for submitting the assignment is as follows:

  1. eConestoga submissions:

A single MS Word document named:

FirstName_LastName_StudentID_Assignment3.docx that contains:

  1. Assignment Title Page with your name, student ID, “Assignment #3” in the title and date.
    1. Screenshots for the “Summary Report” and CPU & Memory plots for each test

Be sure to clearly label each screenshot with a Figure notation/caption:

  • Number of users
  • Loop Count

•      [40 Marks]

  1. An MS Excel chart showing the Average Response Time vs. Number of Users with the correct axes, titles and graph as shown in the accompanying video in eConestoga.

·      [15 Marks]

  1. An explanation of your results including:
    1. what element(s) on this website could lead to a performance bottleneck.
    1. the validity of the results based on this setup.
    1. what factors could influence the performance of the website when it’s released to production.

Be sure to discuss the above points strictly from your results based only using the data obtained from your tests (i.e. response times and system usage plots).  Do not simply repeat information from your graph!

•        [15 Marks]

  • The corresponding .jmx file that was used for your final test – submitted as a separate upload from the .docx file.  Please name it using the format specified above (as used for the .docx file) but with the .jmx extension.

•      [5 Marks]

  • Please submit to the “Assignment #3” assignment folder in eConestoga.

Late penalties will apply for any late submissions.

A -10% penalty will be applied for any files that are zipped up or not using the correct naming format.

As this is a technical report, proper spelling and grammar will also be required and marks may be lost for reports that have poor spelling and / or grammar.  A more detailed marking scheme is shown in the Rubric associated with the Assignment Folder in eConestoga.

Leave a Reply

Your email address will not be published. Required fields are marked *