Skip to content

Instantly share code, notes, and snippets.

@webignition
webignition / new-job-response.json
Created June 6, 2014 07:29
Example JSON response for a new test job
{
"id":123,
"user":"public",
"website":"http:\/\/example.com\/",
"state":"new",
"url_count":0,
"task_count":0,
"task_count_by_state":{
"cancelled":0,
"queued":0,
@webignition
webignition / job-tasks-response.json
Created June 6, 2014 07:50
Example JSON response for a job task collection
[
{
"id": 1,
"url": "http:\/\/example.com\/",
"state": "completed",
"type": "HTML validation",
"time_period": {
"start_date_time": "2013-04-17T14:59:45+0100",
"end_date_time": "2013-04-17T14:59:47+0100"
},
@webignition
webignition / supervisord.conf
Created September 17, 2014 14:17
Simply Testable supervisord configuration
[unix_http_server]
file=/var/run/supervisor.sock ; path to your socket file
[supervisord]
logfile=/var/log/supervisord/supervisord.log ; supervisord log file
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error ; info, debug, warn, trace
pidfile=/var/run/supervisord.pid ; pidfile location
nodaemon=false ; run supervisord as a daemon
  • 1 spicy chicken
  • 3 paneer
  • 5 chutney
  • 5 spicy shami kabab
  • 3 spicy chicken ticky
  • 4 unda chicken
  • 3 chicken ticky
  • 1 shami
  • 3 spicy chicken ticky
  • 1 spicy unda chicken
  • 4 spicy shami kabab
  • 3 paneer
  • 5 chutney
  • 4 unda chicken
  • 3 chicken ticky
  • 2 shami