[NETCONF-136] RestPerfClient: Cannot make valid requests to ODL. Created: 29/Jan/16 Updated: 15/Mar/19 Resolved: 02/Feb/16 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jozef Behran | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 5143 |
| Description |
|
RestPerfClient started with the following command: java -Xmx1G -XX:MaxPermSize=256M -jar netconf-testtool-1.1.0-20160127.162812-22-rest-perf-client.jar --ip 10.25.2.9 --port 8181 --edits 70 --destination /restconf/config/network-topology:network-topology/topology/topology-netconf/node/17830-sim-device/yang-ext:mount/test:cont --edit-content /home/mininet/TARGET/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/request1.json fails to generate a valid request to ODL. However sending the json directly does work. The RestPerfClient command comes from the RestPerfClient suite: https://git.opendaylight.org/gerrit/30484 The "send json directly" case is added to the unclustered CRUD suite: https://git.opendaylight.org/gerrit/33756 This was tested on stable/lithium and stable/beryllium. Both are failing. I created tracing logs with the test runs (each log contains the RestPerfClient suite run followed by the patched CRUD suite run) but I can't see any difference between the requests generated by RestPerfClient and those generated by the CRUD suite (maybe the problem is that RestPerfClient does not send any "content-type" HTTP headers? I can't tell as I could not find in the logs what HTTP headers were sent). |
| Comments |
| Comment by Jozef Behran [ 29/Jan/16 ] |
|
Attachment beryllium-snapshot-JSON-CRUD.log.xz has been added with description: TRACE logs from the two tests run on Beryllium |
| Comment by Jozef Behran [ 29/Jan/16 ] |
|
The logs have the part belonging to "ODL boot" stripped out to squeeze them to below 1MB. |
| Comment by Jozef Behran [ 29/Jan/16 ] |
|
Attachment lithium-snapshot-JSON-CRUD.log.xz has been added with description: TRACE logs from the two tests run on Lithium |
| Comment by Jozef Behran [ 02/Feb/16 ] |
|
Figured out how to use RestPerfClient (with the help of tcpdump and WireShark). |