Does Doc Detective check the attribute type while using responseData in HTTP requests? Or is it limited to the values? For example, if I pass an integer value as a string (with quotes) in the responseData test, does it differentiate and report an error? Doesn't seem to throw an error in my testing. Wanted to confirm if it is a bug or a known limitation/behavior.
Analysis:
Yes, the httpRequest responseData evaluation should be type-sensitive. This is a bug. 0 should not pass when "0" is expected.
From Subin B:
Does Doc Detective check the attribute type while using responseData in HTTP requests? Or is it limited to the values? For example, if I pass an integer value as a string (with quotes) in the responseData test, does it differentiate and report an error? Doesn't seem to throw an error in my testing. Wanted to confirm if it is a bug or a known limitation/behavior.
Analysis:
Yes, the
httpRequest
responseData evaluation should be type-sensitive. This is a bug.0
should not pass when"0"
is expected.