Profile

Click to view full profile
Hi, I'm Veerapat Sriarunrungrueang, an expert in technology field, especially full stack web development and performance testing.This is my coding diary. I usually develop and keep code snippets or some tricks, and update to this diary when I have time. Nowadays, I've been giving counsel to many well-known firms in Thailand.
view more...
Showing posts with label IDE. Show all posts
Showing posts with label IDE. Show all posts

Monday, February 14, 2022

Wednesday, July 9, 2014

Run a set of Visual Studio load tests at once using Command Line

Normally, if you have only one load test environment and have a bunch of load tests that need to run, you need to wait for each test finished then start to run the next test manually.

In order to run them all at one time, we can use Visual Studio Command Prompt to run load tests. But we need to prepare .loadtest files for each load test run separately. It means that if you want to run 15 load tests, you need 15 of .loadtest files.

A command to execute load test has shown as follows:
mstest /TestContainer:[Load Test Name].loadtest /resultsfile:[Load Test Result Location].trx
Then, to run a next load test after another finished, create a command prompt script to run them automatically.

For example - create a loadtest.cmd then add the following lines into the script:
mstest /TestContainer:TestA.loadtest /resultsfile:C:\TestA.trx
mstest /TestContainer:TestB.loadtest /resultsfile:C:\TestB.trx
In case run a distributed load test using test controller and agents from the command-line, it need to add "/testsettings:[Test Setting Name].Testsettings" after specify result file in a command.

For more information about load test, you can take a look at http://msdn.microsoft.com/en-us/library/ms182588(v=vs.110).aspx.

Tuesday, January 21, 2014

Python Tools for Visual Studio

Recently, I have tied to get back to Python. One problem when I get back into it is IDE. I did not mean that Python IDEs are not good but I am really get familiar to Visual Studio. Now, there is a good new for Visual Studio user that now it has an extension on Visual Studio support for Python. Link: http://pytools.codeplex.com/.

Sunday, June 17, 2012

How to handle "The path X is already mapped in workspace Y"

Take a look at http://blogs.msdn.com/b/buckh/archive/2006/09/12/path-is-already-mapped-in-workspace.aspx.

Shortly, you have to remove Team Foundation Server cache that store at "C:\Users\{User}\AppData\Local\Microsoft\Team Foundation\3.0\Cache" named "VersionControl.config". After, you remove it, Visual Studio won't remember the map path from your local path to source control server, then you can map that path to the new server freely.

Monday, October 17, 2011

How to speed up Visual Studio 2010

According to the current version of Visual Studio, that is 2010. We can't deny that this version of Visual Studio is running slower when compared to the previous version (2008). So, I found some blogs wrote about the solution to improve Visual Studio 2010 running performance. I followed his steps, I think it should work for everyone else. Enjoy coding time!


Later, it seems like the link I posted is not exist already. So, I would tell the steps from my memory 555.

1. Go to options and click at Environment then look at startup tab. Select show empty environment.

2. Go to main environment tab, in Visual experience, deselect automatically adjust visual experience based on client performance then select Use hardware graphics acceleration if available.


3. Go to IntelliTrace tab, deselect enable IntelliTrace.


4. Go to Buld and Run tab under Projects and Solutions, check at Only build startup projects and dependencies on Run


Finally, I hope that it can help your Visual Studio run faster a bit ^^".

Wednesday, August 31, 2011

What IDE to use for Python?

See this topic, it may be helpful: http://stackoverflow.com/questions/81584/what-ide-to-use-for-python.
There also has a tool helping us to debug Python program in command shell called IPython. Currently, I don't know how to use it yet. If anyone knows how to use and how it can help us, please let me know ^^.