Forum Discussion

ma's avatar
ma
Occasional Contributor
8 years ago

REST service verb representation with dynamic QName > Url not covering in tests!

Hello,

 

i am using Ready API - SoapUI NG PRO.

Is it possible to cover dynamic url values in verb fault representations? Because of this dynamic url representations on different test runs the expected Response representations cant never fit the coverage.

 

FAULT - application/json - 400 - {http://test.domain.de/category/01234567/buy}Fault

FAULT - application/json - 400 - {http://test.domain.de/category/89012345/buy}Fault

 

Any idea?

Thanks

ma

6 Replies

    • ma's avatar
      ma
      Occasional Contributor

      Any idea!?

  • ma's avatar
    ma
    Occasional Contributor

    http://test.domain.local/category/01234567/buy

     

    We expecting on this url on Project Verb Representations a Fault with Content type application/json Status 400 the Url integer value it self is changing on each new test run because of other products in this example means this 01234567 is an integer in this case which is random.

     

    Do i need to add own json Schema reference in QName over XML file? because it wouldnt be possible over gui..

    • ma's avatar
      ma
      Occasional Contributor

      In the response below was written one day before your was already described which we use template parameter! Where is the meaningfulness of your answer now?