3eef684d05
This commit adds several enhancements to benchmarking tool: server_url and path to messages now can be configured in config file. Default output of program has been changed: now it prints values in json so they can be parsed more easily. Previous human readable representation is accessible via --verbose flag. The `total_requests` metric now shows all performed requests (either failed or successful) and new metric - `successful_requests` - was introduced to store count of successful requests. Change-Id: Id6fe4b2046394a348ba07eb5b2b003c6024b78b0 Partially-implements: blueprint gen-bench-reports
73 lines
2.9 KiB
JSON
73 lines
2.9 KiB
JSON
[
|
|
{
|
|
"weight": 0.8,
|
|
"doc": {
|
|
"ttl": 60,
|
|
"body": {
|
|
"id": "7FA23C90-62F7-40D2-9360-FBD5D7D61CD1",
|
|
"evt": "Wakeup"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"weight": 0.1,
|
|
"doc": {
|
|
"ttl": 3600,
|
|
"body": {
|
|
"ResultSet": {
|
|
"totalResultsAvailable": 1827221,
|
|
"totalResultsReturned": 2,
|
|
"firstResultPosition": 1,
|
|
"Result": [
|
|
{
|
|
"Title": "potato jpg",
|
|
"Summary": "Kentang Si bungsu dari keluarga Solanum tuberosum L ini ternyata memiliki khasiat untuk mengurangi kerutan jerawat bintik hitam dan kemerahan pada kulit Gunakan seminggu sekali sebagai",
|
|
"Url": "http://www.mediaindonesia.com/spaw/uploads/images/potato.jpg",
|
|
"ClickUrl": "http://www.mediaindonesia.com/spaw/uploads/images/potato.jpg",
|
|
"RefererUrl": "http://www.mediaindonesia.com/mediaperempuan/index.php?ar_id=Nzkw",
|
|
"FileSize": 22630,
|
|
"FileFormat": "jpeg",
|
|
"Height": 362,
|
|
"Width": 532,
|
|
"Thumbnail": {
|
|
"Url": "http://thm-a01.yimg.com/nimage/557094559c18f16a",
|
|
"Height": 98,
|
|
"Width": 145
|
|
}
|
|
},
|
|
{
|
|
"Title": "potato jpg",
|
|
"Summary": "Introduction of puneri aloo This is a traditional potato preparation flavoured with curry leaves and peanuts and can be eaten on fasting day Preparation time 10 min",
|
|
"Url": "http://www.infovisual.info/01/photo/potato.jpg",
|
|
"ClickUrl": "http://www.infovisual.info/01/photo/potato.jpg",
|
|
"RefererUrl": "http://sundayfood.com/puneri-aloo-indian-%20recipe",
|
|
"FileSize": 119398,
|
|
"FileFormat": "jpeg",
|
|
"Height": 685,
|
|
"Width": 1024,
|
|
"Thumbnail": {
|
|
"Url": "http://thm-a01.yimg.com/nimage/7fa23212efe84b64",
|
|
"Height": 107,
|
|
"Width": 160
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"weight": 0.1,
|
|
"doc": {
|
|
"ttl": 360,
|
|
"body": {
|
|
"id": "7FA23C90-62F7-40D2-9360-FBD5D7D61CD1",
|
|
"evt": "StartBackup",
|
|
"files": [
|
|
"/foo/bar/stuff/thing.dat"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|