question

GregM avatar image
GregM asked amichaels answered

Automatic application of response map to readFile action

Is it possible to have a response map automatically applied to a readFile action based on the "Command:" content?

iTestresponse map
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

KumarS avatar image
KumarS answered KumarS posted

If you set the response map library for the readfile step, iTest will find the response map based on applicability data (which considers the command field in the testcase as one of the applicability data).

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

amichaels avatar image
amichaels answered

In this case, you can't always rely on a response map library, and you need to assign the step to a specific response map file. This is the one time I find it is OK to use a specific response map file vs. a library.

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.