Response response=given().that().parameter("j_username",userName).parameter("j_password",响应
System.out.println(response.asString());
我想用这个代码登录。但是我得到了HTML响应,我不能用这个登录。请帮我摆脱这个问题。
提前谢谢。致敬,Prat
发布于 2014-07-08 14:14:54
也许您正在寻找表单身份验证?
given().auth().form("username", "password", new FormAuthConfig(..)). .. https://stackoverflow.com/questions/23105689
复制相似问题