Closed jitsni closed 7 years ago
Hi @jitsni, there are 2 scripts with this issue: http.proxy.auth.authentication.basic.rpt and http.proxy.auth.authentication.digest.rpt.
Replacing tcp with http generated an error related to missing path: org.jboss.netty.channel.ChannelException: http path missing
.
After using http and path as in accept http://localhost:8080/resource
, a org.junit.ComparisonFailure: Specified behavior did not match
is issued. Scripts are on my fork.
It seems what comes after connect/accept is not read anymore. This would also explain why it worked with tcp. Will investigate more on this.
Yes, I was telling the same to @dpwspoon. We need to fix all the scripts which has this problem.
I've modified the scripts to only use TCP. With Http, it kept returning Exception errors.
But the basic Auth fails, as Gateway returns 504 instead of 200. Here's my version. The digestAuth also fails with java.lang.InterruptedException.
@apirvu Please create a PR and Jitu will review it.
For e.g. authenticationBasic() script uses
This is mixing tcp and http syntax. There is k3po exception also (but the test passes due to some other reasons)