Skip to content

dudziakm/syringe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status Coverage Status

Syringe

Syringe is a .NET automated HTTP testing tool for headless, Javascript-ignorant tests. It is compatable with the webinject HTTP testing tool XML syntax.

Installation

Pre-requisites

Make sure you have IIS enabled.

Chocolatey
  • Install chocolatey
  • Install nuget command line : choco install nuget.commandline
  • Powershell 4+: choco install powershell4
Mongodb:
# Work around for bug in the mongodb Chocolately package
$env:systemdrive = "C:\ProgramData\chocolatey\lib\mongodata"
choco install mongodb
Install Syringe via Chocolatey at myget

Note: this will configure Syringe on port 80. You should remove any site you have on Port 80, or pass in arguments to use a different port if you don't want to use 80.

choco source add -n "myget" -s "https://www.myget.org/F/syringe/api/v2"
choco install syringe
Configure an OAuth2 provider

Syringe uses OAuth2 for its security. Currently it only supports Github, Google and Microsoft OAuth2 providers.

Start the service

The Syringe REST API runs as Windows service, which can also be run as a command line app. This API is used to run all tests and is the data repository, it runs its own embedded HTTP server.

Building from source

Once you've cloned the repository, run setup.ps, this will:

  • Build the solution, restoring the nuget packages
  • Create an IIS site
  • Create C:\syringe folder with an example file.

Follow the "Configure OAuth" and "Start the service" steps above

About

Automated HTTP (headless) testing via the browser.

Resources

License

Stars

Watchers

Forks

Packages

No packages published