Server Side Calculator - Instructions

A server side calculator. Submit the form and receive the result.

About Page

This is a simple application with a GUI.

When you submit the calculation the request is sent to the server and the answer returned and displayed on the page.

The inputs can be numbers or text e.g.

  • 1234
  • one thousand two hundred and thirty four

Dev Tools

Use the Dev Tools and check that the description is correct, does the page actually send the data to the server? You should be able to see the message submission in the Network Tab.

Getting into the habit of using the Dev Tools when testing will help you understand the applications that you work with very quickly.

Automated Execution

For automating, it is a relatively simple form with a submission.

Since the API is sent using JavaScript and then rendered, checking the answer may require some synchronization to wait for the response to be processed.

Simply:

  • input your data
  • submit the data
  • wait for answer to render
  • assert on the expected results

HTTP Execution

You could automate server side validation directly by issuing HTTP requests.

It may be faster to execute a lot of coverage by issuing HTTP requests directly.

Try to automate via HTTP requests and increase the coverage of the data used.

Exploratory Testing

For exploratory testing you might want to use some tactical tools to help increase the data scope for simple data.

The form doesn’t seem to have much validation so you can explore edge cases.

A Proxy Tool might help here, by intercepting the request to the server, you could resend the request with changed data without having to fill in the web form all the time.

Proxy tools also have fuzzers, and you might be able to use those to cover a lot of data combinations quickly.