Looking for plugin or script for Json to CSV conversion
Thanks
Shri
def json = new groovy.json.JsonSlurper().parse(prev.getResponseData()).cc_device
new File('somefile.csv') << json.host_name << ',' << json.serial_no <<',' << json.device_type_name << ',' << json.product_number << ',' << json.os_name << ',' << json.os_version << ',' << json.protocol_type_name << System.getProperty('line.separator')
Perf2.hpe.bmqtksrdxjse | Perf2solcxB0FJ4232KR | BladeSystem c3000 Enclosure | 437502-B21 | UNKNOWN | UNKNOWN | OA |
Perf2.hpe.hftfb82zh9t2 | Perf2solcxKIFDEDEEVF | BladeSystem c3000 Enclosure | 437502-B21 | UNKNOWN | UNKNOWN | OA |
--
You received this message because you are subscribed to a topic in the Google Groups "jmeter-plugins" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jmeter-plugins/M7xbXf9LykM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jmeter-plugin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jmeter-plugins/14326aa1-aa22-48fc-bebc-b10a7fed9fca%40googlegroups.com.
Host Name | Serial Number | Device Type Name | Product Number | OS Name | OS Version | |
Perf2.hpe.pcn5vfvr1k9t | Perf2solcx5A8DGRWRMT |
BladeSystem c3000 Enclosure | 437502-B21 | UNKNOWN | UNKNOWN | OA |
Host Name | Serial Number | Device Type Name | Product Number | OS Name | OS Version | |
Perf2.hpe.72470a9oecza | Perf2solcxYDJRJ3Q9RP |
BladeSystem c3000 Enclosure | 437502-B21 | UNKNOWN | UNKNOWN | OA |
Host Name | Serial Number | Device Type Name | Product Number | OS Name | OS Version | |
Perf2.hpe.bny36d3qfu1v | Perf2solcxPOLNAJXST2 |
BladeSystem c3000 Enclosure | 437502-B21 | UNKNOWN | UNKNOWN | OA |
Host Name | Serial Number | Device Type Name | Product Number | OS Name | OS Version | |
Perf2.hpe.x5ghf2986ruf | Perf2solcxZUUKOFDSVF |
BladeSystem c3000 Enclosure | 437502-B21 | UNKNOWN | UNKNOWN | OA |
Host Name | Serial Number | Device Type Name | Product Number | OS Name | OS Version | |
Perf2.hpe.6fi4atxrp0rb | Perf2solcxMPGJERXLK9 |
BladeSystem c3000 Enclosure | 437502-B21 | UNKNOWN | UNKNOWN | OA |
--
You received this message because you are subscribed to a topic in the Google Groups "jmeter-plugins" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jmeter-plugins/M7xbXf9LykM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jmeter-plugin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jmeter-plugins/273bda51-330f-4900-a58a-759601bc99b3%40googlegroups.com.