Campoie / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

Investigate support for XML attributes #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
E.g. support for:
<greeting>
      <name firstName="John" lastName="Doe" />
</greeting>

using expect().body("greeting.name.firstName", equalTo("John").

Original issue reported on code.google.com by johan.ha...@gmail.com on 25 Jan 2011 at 11:13

GoogleCodeExporter commented 9 years ago
Use:

expect().body("greeting.name.@firstName", equalTo("John"))..

Original comment by johan.ha...@gmail.com on 11 Feb 2011 at 8:31