Skip to main content

2 minute read - Evil Tester Testing REST API Testing

How to use Test Practice Pages and Games from Evil Tester

Apr 12, 2018

TLDR; download the .jar from github, run from the command line, visit localhost:4567, navigate, play and test.

I have written a lot of apps and games over the years to support my training workshops. Most have been hosted on my web sites. Now you can download them all in one easy to use .jar file.

What?

I have collated the following, into a single downloadable app:

This is not everything I have written, and it doesn’t include RestMud or my Test REST API (which I appear to have not mentioned before).

You can find the app at:

How do I use it?

Download the ‘jar’ file or ‘zip’ file from the page:

Note, the actual filename might be different as the releases advance.

At the command line where you downloaded the file:

java -jar compendium-of-test-apps-v1-0.jar

You should see some messages in the console that a web server has started:

> java -jar seleniumtestpages-1.1-jar-with-dependencies.jar 
[Thread-0] INFO org.eclipse.jetty.util.log - Logging initialized @354ms
[Thread-0] INFO spark.webserver.JettySparkServer - == Spark has ignited ...
[Thread-0] INFO spark.webserver.JettySparkServer - >> Listening on 0.0.0.0:4567
[Thread-0] INFO org.eclipse.jetty.server.Server - jetty-9.3.z-SNAPSHOT
[Thread-0] INFO org.eclipse.jetty.server.ServerConnector - 
Started ServerConnector@2eaec02c{HTTP/1.1,[http/1.1]}{0.0.0.0:4567}
[Thread-0] INFO org.eclipse.jetty.server.Server - Started @501ms

Then using a browser visit:

  • http://localhost:4567

You’ll see the Selenium Test Pages and at the bottom, a link to the rest of the applications

  • http://localhost:4567/games/buggygames/index.html

Why would I use it?

From here you can play a variety of games that I use in my “Just Enough JavaScript to be Dangerous” and “Hacking JavaScript Games” training workshops:

  • Console Driver
  • The Coloured Square Game
  • Number Hover Text Game
  • The Coloured Square Changing Game
  • And more…

Also some simple apps:

  • Some test apps
    • 7 char value
    • Test with A.T.T.I.T.U.D.E
  • Some production apps
    • E-Primer
    • Evil Tester Sloganizer
    • Responsive Test Tool
    • And more…

Some of these apps have deliberate bugs, some are designed for being hacked and manipulated.

But they all offer scope for exploration and testing.

What Next?

I will be adding more games and apps into the repo, and I’ll be creating some Patreon videos showing how to use the apps to practice your testing.

I’m also updating it to get ready to refresh my Selenium WebDriver training course and build some more training material.

If you have any questions then feel free to leave comments in the video or on this blog post.

Video

https://youtu.be/6OQQEtq_7bQ

Watch on YouTube


You will need a Github account to comment. Or you can contact me with your comment.

I reserve the right to delete spam comments e.g. if your comment adds no value and its purpose is simply to create a backlink to another site offering training, or courses, etc.