We'd like to be able to run the integration tests using XML

Registered by Tim Simpson

The client can currently send and receive in XML. This functionality is available in the CLI if you use "--verbose --xml".

However, we can't run through all the tests in XML mode because currently integer and boolean types are translated to strings. In other words, the tests run as normal, but tests which look for integers or booleans fail since the XML client translates all XML attributes to strings.

If we could marshal the types to their JSON counterparts, we could run the tests. Then all we'd need to do is make calls to xmllint or another tool as we ran the tests (probably in the morph request / morph response methods) against our XSD to make sure the actual XML type contract is being honored.

Blueprint information

Status:
Complete
Approver:
Michael Basnight
Priority:
Undefined
Drafter:
Tim Simpson
Direction:
Approved
Assignee:
Donald Johnstone
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Michael Basnight
Completed by
Michael Basnight

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/test-with-xml,n,z

Addressed by: https://review.openstack.org/20403
    Correcting the types of the values in the returned data

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.