Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

oracle/paradox-tester

paradox tester

Installing Java

https://www.java.com/en/download/

Installing Gradle

$ curl -s get.sdkman.io | bash
$ sdk install groovy
$ sdk install gradle

Playing nice with Idea

This step only applies if you are using Intellij's Idea as your ide

gradle idea

Running the server

The file config.groovy has settings that are applicable for running on the production server. You may create a file config.local.groovy, which if present will be merged into the config overriding any values. Feel free to alter paths, ports, timeouts and other settings by changing this file. It is in the .gitignore.

From gradle:

gradle run

And you should see some output similar to

oejs.ServerConnector:main: StartedServerConnector@73483dda{HTTP/.1,[http/1.1]}{0.0.0.0:8080}
oejs.Server:main: Started @3287ms

You may have problems with Ctrl+C on Cygwin/windows with gradle being cancelled, but the server still running, and thus not releasing the bind on the port. In this case, you'll need to find and kill the java process keeping the port open every time you run a new server.

From idea:

To run the server from Idea, setup a new Run/Debug configuration. Add new configuration -> Application, set the Main class to webtesting.MainClass

Endpoints:

Tests

tests/ (GET)

tests/{suite} (GET)

tests/{suite}/{id} (GET)

Queue

queue/ (GET)

queue/{suite} (GET)

queue/{suite}/{id} (GET)

queue/{suite} (POST)

queue/{suite}/{id} (PUT)

Results

results/ (GET)

results/{suite} (GET)

results/{suite}/{id} (GET)

Diagnostics

ping/ (GET)

healthcheck/ (GET)

healthcheck/lb (GET)

healthcheck/nagios (GET)

Contributing

This project is not accepting external contributions at this time. For bugs or enhancement requests, please file a GitHub issue unless it’s security related. When filing a bug remember that the better written the bug is, the more likely it is to be fixed. If you think you’ve found a security vulnerability, do not raise a GitHub issue and follow the instructions in our security policy.

Security

Please consult the security guide for our responsible security vulnerability disclosure process

License

Copyright (c) 2016, 2023 Oracle and/or its affiliates.

Released under the Apache License 2.0

About

A webservice for managing the scheduling, execution, and results of automated test suites

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages