简体   繁体   English

Visual Studio Web测试cookie管理

[英]Visual Studio Web test cookie management

I have read in other posts that Visual Studio Web Test automatically handles cookies. 我在其他帖子中读到Visual Studio Web Test会自动处理cookie。 I am using Fiddler to examine traffic when I use me AUT (application under test) in order to try and replicate calls in Web Test. 当我使用AUT(测试中的应用程序)以尝试在Web测试中复制调用时,我正在使用Fiddler来检查流量。 I see cookies in the requests in Fiddler that I am not seeing in Web Test. 我在Fiddler的请求中看到了我在Web测试中没有看到的cookie。 Do I have to extract them and add them to subsequent requests? 我是否必须提取它们并将其添加到后续请求中? Is there some kind of automagical please handle cookies for me setting somewhere? 是否有某种自动化请为我设置饼干? Thanks for helping the noon. 谢谢你帮助中午。 I cannot find anything on google. 我在谷歌上找不到任何东西。

No. There should be no need for you to handle the cookies yourself. 不,您不需要自己处理cookie。

For me, Visual Studio has always handled the cookies without my doing anything special with, or for, cookies. 对我来说,Visual Studio始终处理cookie而不对cookie做任何特殊处理。 I have not found any switches to enable or disable cookie handling. 我没有找到任何启​​用或禁用cookie处理的开关。

There are some cookie related fields in the request and response. 请求和响应中有一些与cookie相关的字段。 They can be read and, for requests, modified for a website that does some non-standard cookie mixtures. 对于执行某些非标准cookie混合的网站,可以读取它们,并针对请求进行修改。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio Web测试-记录后台请求 - Visual Studio Web Test - Recording background requests Visual Studio Web性能测试,javascript - Visual studio web performance test, javascript 等待相关请求在Visual Studio Web测试中完成 - Waiting for a dependent request to complete within a Visual Studio Web test Visual Studio Web测试-不要重复登录步骤 - Visual Studio Web Test - Do not Repeat Login Step 将Visual Studio 2015 Web测试响应从十六进制更改为JSON - Changing Visual Studio 2015 Web Test response from hex to JSON Microsoft Visual Studio Web性能测试-第一次测试的测试结果总是花费最长的时间吗? - Microsoft Visual Studio Web Performance Test - Test result of first test always takes the longest? 如何将值列表作为参数传递给Visual Studio Web性能测试或加载测试插件? - How can I pass a list of values as a parameter to a Visual Studio web performance test or load test plugin? Visual Studio性能编码的用户界面 - 弹出窗口已损坏,因为Web测试记录器导致它在完整窗口中打开 - Visual Studio Performance Coded UI - Popup Window broken, Because Web Test Recorder is causing it to open in a full window Visual Studio 2010 Web测试URL属性支持数据绑定,但是如何验证“预期响应URL”? - Visual Studio 2010 Web Test Url property supports data binding but how to validate Expected Response URL? Visual Studio Web性能测试的播放错误 - Playback errors with Visual Studio Web Performance Testing
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM