-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathedgeSqlUpload.jmx
111 lines (111 loc) · 17.4 KB
/
edgeSqlUpload.jmx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.2.1">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="TestPlan.functional_mode">false</boolProp>
<boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<stringProp name="TestPlan.user_define_classpath"></stringProp>
</TestPlan>
<hashTree>
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true">
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
<boolProp name="LoopController.continue_forever">false</boolProp>
<stringProp name="LoopController.loops">1</stringProp>
</elementProp>
<stringProp name="ThreadGroup.num_threads">6300</stringProp>
<stringProp name="ThreadGroup.ramp_time">1</stringProp>
<boolProp name="ThreadGroup.scheduler">false</boolProp>
<stringProp name="ThreadGroup.duration"></stringProp>
<stringProp name="ThreadGroup.delay"></stringProp>
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
</ThreadGroup>
<hashTree>
<LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
<boolProp name="LoopController.continue_forever">true</boolProp>
<stringProp name="LoopController.loops">1</stringProp>
</LoopController>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HTTP Request" enabled="true">
<boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments">
<collectionProp name="Arguments.arguments">
<elementProp name="" elementType="HTTPArgument">
<boolProp name="HTTPArgument.always_encode">false</boolProp>
<stringProp name="Argument.value">{"school": "013430", "devices": [{"device_id": 1, "hostname": "10.0.0.196", "sysName": "dgs-1210-28 switch-a", "ip": "NULL", "community": "public", "authlevel": "NULL", "authname": "NULL", "authpass": "NULL", "authalgo": "NULL", "cryptopass": "NULL", "cryptoalgo": "NULL", "snmpver": "v2c", "port": 161, "transport": "udp", "timeout": "NULL", "retries": "NULL", "snmp_disable": 0, "bgpLocalAs": "NULL", "sysObjectID": ".1.3.6.1.4.1.171.10.153.5.1", "sysDescr": "WS6-DGS-1210-28/F1 6.10.007", "sysContact": "NULL", "version": "NULL", "hardware": "WS6-DGS-1210-28/F1 Rev. ", "features": "NULL", "location_id": 1, "os": "dlink", "status": 1, "status_reason": "", "ignores": 0, "disabled": 0, "uptime": 6042998, "agent_uptime": 0, "last_polled": "2020-01-09 08:35:44", "last_poll_attempted": "NULL", "last_polled_timetaken": 40.78, "last_discovered_timetaken": 5.9, "last_discovered": "2020-01-09 06:33:14", "last_ping": "2020-01-09 08:35:44", "last_ping_timetaken": 14.9, "purpose": "NULL", "type": "network", "serial": "NULL", "icon": "dlink.svg", "poller_group": 0, "override_sysLocation": 0, "notes": "NULL", "port_association_mode": 1, "max_depth": 0}, {"device_id": 2, "hostname": "10.0.0.197", "sysName": "dgs-1210-28 switch-b", "ip": "NULL", "community": "public", "authlevel": "NULL", "authname": "NULL", "authpass": "NULL", "authalgo": "NULL", "cryptopass": "NULL", "cryptoalgo": "NULL", "snmpver": "v2c", "port": 161, "transport": "udp", "timeout": "NULL", "retries": "NULL", "snmp_disable": 0, "bgpLocalAs": "NULL", "sysObjectID": ".1.3.6.1.4.1.171.10.153.5.1", "sysDescr": "WS6-DGS-1210-28/F1 6.10.007", "sysContact": "NULL", "version": "NULL", "hardware": "WS6-DGS-1210-28/F1 Rev. ", "features": "NULL", "location_id": 2, "os": "dlink", "status": 1, "status_reason": "", "ignores": 0, "disabled": 0, "uptime": 6043519, "agent_uptime": 0, "last_polled": "2020-01-09 08:35:45", "last_poll_attempted": "NULL", "last_polled_timetaken": 40.7, "last_discovered_timetaken": 7.17, "last_discovered": "2020-01-09 06:33:08", "last_ping": "2020-01-09 08:35:45", "last_ping_timetaken": 14.9, "purpose": "NULL", "type": "network", "serial": "NULL", "icon": "dlink.svg", "poller_group": 0, "override_sysLocation": 0, "notes": "NULL", "port_association_mode": 1, "max_depth": 0}, {"device_id": 3, "hostname": "10.0.0.199", "sysName": "procurve switch 2626", "ip": "NULL", "community": "public", "authlevel": "NULL", "authname": "NULL", "authpass": "NULL", "authalgo": "NULL", "cryptopass": "NULL", "cryptoalgo": "NULL", "snmpver": "v2c", "port": 161, "transport": "udp", "timeout": "NULL", "retries": "NULL", "snmp_disable": 0, "bgpLocalAs": 1, "sysObjectID": ".1.3.6.1.4.1.11.2.3.7.11.34", "sysDescr": "ProCurve J4900A Switch 2626, revision H.10.83, ROM H.08.02 (/sw/code/build/fish(mkfs))", "sysContact": "Zheng Sheng", "version": "H.10.83", "hardware": "ProCurve J4900A Switch 2626", "features": "NULL", "location_id": "NULL", "os": "procurve", "status": 1, "status_reason": "", "ignores": 0, "disabled": 0, "uptime": 6061165, "agent_uptime": 0, "last_polled": "2020-01-09 08:35:30", "last_poll_attempted": "NULL", "last_polled_timetaken": 26.48, "last_discovered_timetaken": 9.88, "last_discovered": "2020-01-09 06:33:25", "last_ping": "2020-01-09 08:35:30", "last_ping_timetaken": 2.75, "purpose": "NULL", "type": "network", "serial": "TW419PB04I", "icon": "hpe.svg", "poller_group": 0, "override_sysLocation": 0, "notes": "NULL", "port_association_mode": 1, "max_depth": 0}, {"device_id": 4, "hostname": "10.0.0.254", "sysName": "vigor", "ip": "NULL", "community": "public", "authlevel": "NULL", "authname": "NULL", "authpass": "NULL", "authalgo": "NULL", "cryptopass": "NULL", "cryptoalgo": "NULL", "snmpver": "v2c", "port": 161, "transport": "udp", "timeout": "NULL", "retries": "NULL", "snmp_disable": 0, "bgpLocalAs": "NULL", "sysObjectID": ".1.3.6.1.4.1.8072.3.2.10", "sysDescr": "DrayTek Corporation, Router Model: Vigor300B, Version: 1.3.3.2_Beta/1.3.3.2, Build Date/Time: 2018-04-16 02:05:43", "sysContact": "root@localhost", "version": "1.3.3.2_Beta", "hardware": "Vigor300B", "features": "NULL", "location_id": "NULL", "os": "draytek", "status": 1, "status_reason": "", "ignores": 0, "disabled": 0, "uptime": 6063405, "agent_uptime": 0, "last_polled": "2020-01-09 08:35:18", "last_poll_attempted": "NULL", "last_polled_timetaken": 14.35, "last_discovered_timetaken": 14.86, "last_discovered": "2020-01-09 06:33:40", "last_ping": "2020-01-09 08:35:18", "last_ping_timetaken": 0.62, "purpose": "NULL", "type": "network", "serial": "NULL", "icon": "draytek.svg", "poller_group": 0, "override_sysLocation": 0, "notes": "NULL", "port_association_mode": 1, "max_depth": 0}], "device_perf": [{"id": 1074, "device_id": 1, "timestamp": "2020-01-09 08:35:05", "xmt": 3, "rcv": 3, "loss": 0, "min": 2.71, "max": 24.1, "avg": 14.9, "debug": "[]"}, {"id": 1076, "device_id": 2, "timestamp": "2020-01-09 08:35:05", "xmt": 3, "rcv": 3, "loss": 0, "min": 6.77, "max": 25.0, "avg": 14.9, "debug": "[]"}, {"id": 1073, "device_id": 3, "timestamp": "2020-01-09 08:35:05", "xmt": 3, "rcv": 3, "loss": 0, "min": 0.61, "max": 4.61, "avg": 2.75, "debug": "[]"}, {"id": 1075, "device_id": 4, "timestamp": "2020-01-09 08:35:05", "xmt": 3, "rcv": 3, "loss": 0, "min": 0.57, "max": 0.68, "avg": 0.62, "debug": "[]"}], "alert_log": [{"id": 64, "rule_id": 16, "device_id": 1, "state": 0, "details": "CustomOID under warning limit", "time_logged": "2020-01-09 07:51:19"}, {"id": 62, "rule_id": 15, "device_id": 1, "state": 0, "details": "CustomOID over warning limit", "time_logged": "2020-01-09 07:51:19"}, {"id": 60, "rule_id": 14, "device_id": 1, "state": 0, "details": "CustomOID under limit", "time_logged": "2020-01-09 07:51:18"}, {"id": 63, "rule_id": 16, "device_id": 2, "state": 0, "details": "CustomOID under warning limit", "time_logged": "2020-01-09 07:51:19"}, {"id": 61, "rule_id": 15, "device_id": 2, "state": 0, "details": "CustomOID over warning limit", "time_logged": "2020-01-09 07:51:18"}, {"id": 59, "rule_id": 14, "device_id": 2, "state": 0, "details": "CustomOID under limit", "time_logged": "2020-01-09 07:51:18"}, {"id": 32, "rule_id": 16, "device_id": 3, "state": 0, "details": "CustomOID under warning limit", "time_logged": "2020-01-09 07:51:06"}, {"id": 31, "rule_id": 15, "device_id": 3, "state": 0, "details": "CustomOID over warning limit", "time_logged": "2020-01-09 07:51:06"}, {"id": 30, "rule_id": 14, "device_id": 3, "state": 0, "details": "CustomOID under limit", "time_logged": "2020-01-09 07:51:05"}, {"id": 16, "rule_id": 16, "device_id": 4, "state": 0, "details": "CustomOID under warning limit", "time_logged": "2020-01-09 07:50:52"}, {"id": 15, "rule_id": 15, "device_id": 4, "state": 0, "details": "CustomOID over warning limit", "time_logged": "2020-01-09 07:50:51"}, {"id": 14, "rule_id": 14, "device_id": 4, "state": 0, "details": "CustomOID under limit", "time_logged": "2020-01-09 07:50:50"}]}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</elementProp>
<stringProp name="HTTPSampler.domain">10.0.0.194</stringProp>
<stringProp name="HTTPSampler.port">5000</stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/edgeNodeSqlUpload</stringProp>
<stringProp name="HTTPSampler.method">POST</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
<boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
<stringProp name="HTTPSampler.response_timeout"></stringProp>
</HTTPSamplerProxy>
<hashTree>
<ResultCollector guiclass="GraphVisualizer" testclass="ResultCollector" testname="Graph Results" enabled="true">
<boolProp name="ResultCollector.error_logging">false</boolProp>
<objProp>
<name>saveConfig</name>
<value class="SampleSaveConfiguration">
<time>true</time>
<latency>true</latency>
<timestamp>true</timestamp>
<success>true</success>
<label>true</label>
<code>true</code>
<message>true</message>
<threadName>true</threadName>
<dataType>true</dataType>
<encoding>false</encoding>
<assertions>true</assertions>
<subresults>true</subresults>
<responseData>false</responseData>
<samplerData>false</samplerData>
<xml>false</xml>
<fieldNames>true</fieldNames>
<responseHeaders>false</responseHeaders>
<requestHeaders>false</requestHeaders>
<responseDataOnError>false</responseDataOnError>
<saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
<assertionsResultsToSave>0</assertionsResultsToSave>
<bytes>true</bytes>
<sentBytes>true</sentBytes>
<url>true</url>
<threadCounts>true</threadCounts>
<idleTime>true</idleTime>
<connectTime>true</connectTime>
</value>
</objProp>
<stringProp name="filename"></stringProp>
</ResultCollector>
<hashTree/>
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
<collectionProp name="HeaderManager.headers">
<elementProp name="" elementType="Header">
<stringProp name="Header.name">content-type</stringProp>
<stringProp name="Header.value">application/json</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<hashTree/>
</hashTree>
</hashTree>
</hashTree>
</hashTree>
</hashTree>
</jmeterTestPlan>