1[
2  {
3    "enabled":1,
4    "version_min":300000,
5    "title":"Testing Variables :: TIME_WDAY",
6    "client":{
7      "ip":"200.249.12.31",
8      "port":123
9    },
10    "server":{
11      "ip":"200.249.12.11",
12      "port":80
13    },
14    "request":{
15      "headers":{
16        "Host":"localhost",
17        "User-Agent":"curl/7.38.0",
18        "Accept":"*/*",
19        "Content-Length":"27",
20        "Content-Type":"application/x-www-form-urlencoded"
21      },
22      "uri":"/one/two/three?key1=value1&key2=v%20a%20l%20u%20e%202",
23      "method":"GET"
24    },
25    "response":{
26      "headers":{
27        "Date":"Mon, 13 Jul 2015 20:02:41 GMT",
28        "Last-Modified":"Sun, 26 Oct 2014 22:33:37 GMT",
29        "Content-Type":"text/html"
30      },
31      "body":[
32        "no need."
33      ]
34    },
35    "expected":{
36      "debug_log":"Target value: \"([0-9]+)\" \\(Variable: TIME_WDAY\\)"
37    },
38    "rules":[
39      "SecRuleEngine On",
40      "SecRule TIME_WDAY \"@contains test \" \"id:1,phase:3,pass,t:trim\""
41    ]
42  }
43]
44