In Visual Studio web performance test Recording is started but script is not generated? why? - performance

I'm using visual studio 2010. i'm try to do web performance test. so i've done all settings correctly. click the start recording button. that time browser was automatically opened with that particular webpage. i do some actions. but that actions scripts are not generated in in my visual studio web test. last two months ago i worked this test successfully. but now i can't get it. so please help me...

I think it depends on what kinda of API requests you want to record. For HTTP request from Internet Explorer, you should be able to record everything with Visual Studio; but for HTTPS requests or requests from other browsers other than , Fiddler is a definitely better tool to record requests instead of using only Visual Studio. This doc may be helpful to you for using Fiddler:
http://www.alexandervanwynsberghe.be/creating-a-web-performance-test-using-fiddler/
and
http://docs.telerik.com/fiddler/configure-fiddler/tasks/configurefiddler

Related

SharePoint Visual studio project Debug issue

I am not able to debug the Sharepoint project in Visual studio solution even after attaching W3workerprocess. please help me on this.
I cheked project properties, website URL is also correct. but still i am not able to debug the solution
Have you made any changes that's not deployed/copied to GAC/BIN? If not, copy to GAC/BIN using CKSDev (VS tool) and then do a IIS reset (I think that CKSDev handles this also). Then refresh your page and then attach the process again. Also there's often multiple w3wp.exe you can attach to. I usually select all those.

Visual Studio 2013 Web Load Testing Mystery

In visual studio 2013 Web load testing has changed. It was working fine for a long time. But lately when I run a test, all of the Page Response Times are "nothing" and under Controller and Agents I'm getting a red X every time, and Processor Time shows Error. Can't figure out why or what's changed.
Image
Oops, my bad. Just realized the .webtest was empty. It didn't record in IE 11 because the web test recorder help add-in wasnt enable in IE11.

Visual Studio Team Services (was Visual Studio Online) TestResults - Open attachment in browser

We're using MSTest with Team Services (was Visual Studio Online) builds to run our Selenium Tests and, for the failed ones, I'm taking a screenshot in the TestCleanup that added to the Test Results by using TestContext.
Now, when I'm checking the test results for the failed tests, and want to open the attachment (a .png image), Team Services is always prompting for download instead of just displaying it in the browser, which could really become a pain when you have a new build of your app and a lot stuff was changed causing multiple tests to fail.
Is there any possibility to force Team Services or the browser to open the images in the browser?
I'm open to anything from changing the type of attachment, potential "hacks" that could determine Team Services to display the image in browser, browser extensions, etc.
There isn't any option to configure this at VSTS/VSO side for now, I have help you submit a feature request on VSTS User Voice, refer to this link for details: Open attachments of test result from web portal in browser.
However, if you are using Firefox, I know there is an Open in Browser add-on which allow you to open the document from browser directly.

How to attach the DNX process when using Postman or Fiddler?

I use Visual Studio 2015, a Web API project and DNX as the hosting environment. To test the APIs, I use postman. I often use Fiddler also.
Here is how I debug. I look for the DNX process in the Visual Studio 2015, attach to that process, and then run the API in the post man. It is working fine. But it is tedious when I have to do this repeatedly for many APIs.
Is there a quick way where by when I run the API in the Postman, the process is automatically attached to the Visual Studio and breaks at the break point in the code?

VS 2012: Real support for debugging via Chrome now is supported?

Can we now debug websites / services and set break points while using Google Chrome as the browser ? Or is this still only supportable in IE ?
I know before setting breakpoints (F9) and then debugging in IE worked without problems but using chrome was never supported.
I have tried to use google to find the answer to this but I am still unable to confirm it, I can't believe that debugging on services / sites are still not support in VS via another browser apart from IE.
I know the VS 2013 is upcoming, maybe this will address the problem?
EDIT
Sorry i should have made it clear, i am talking about client side debugging directly in VS using a NON IE Browser
You are misunderstanding client and server-side.
Client-side:
We don't care if the website is developed in .Net, with Visual Studio, PHP or whatever you want, the browser gives you some tools for debugging websites so the problem is from the browser not Visual Studio. Even if you upgrade to VS 2013 that won't change your problem, Visual Studio has no way to know the state of the JavaScript for a page opened by a client for example.
You may have heard about SignalR used in VS 2013 (Browser link feature) and that may have confused you, if so SignalR is only for refreshing client-side pages when you edit the view for example, but not for debugging.
Server-side:
Add your breakpoint in Visual Studio and then attach the debugger (Tools > Attach to process). In that way you will be able to debug server-side code (e.g. C# code) in Visual Studio. Note that the browser has no way to know the code server-side.

Resources