find a location for property in a new city

Thursday 3 March 2011

Visual Studio's load test and 400 Bad request errors

When trying some load testing with Visual Studio Ultimate edition. My load test received lots of 400 bad request errors. But why?

I had a look at my page that was claiming to be full of errors and it was fine. Even Fiddler reported that there were no 400's being returned from my page.

I took a look more closely at the URL that was returning the 400 and it was not the same as the one I put into the Web Performance test. It had suffixed my URL with %3C%25 - I had a look and this is URL encoding for <%. The 'start writing code' symbol in web forms pages/views.

Workaround to fix this 400 Bad Request %3C%25 problem

I routed about my View and found it could be a problem with the ad calls in the page. They make https ad calls so maybe this is the problem since I heard something about https not being supported properly in load test.

So I stripped the ad call parts out of my View and everything is working fine now.

Obviously this will now affect my page speed so not very accurate. Not impresses given the cost of Visual Studio Ultimate

Follow britishdev on Twitter

11 comments:

  1. Hi,

    Im experiencing a similar error message with a lot of users because of a corrupted cookie (a cookie which has recorded by mistake special character).


    Do you have any idea how I could solve this without asking all my users to clear their caches?

    thanks a lot
    best

    ReplyDelete
  2. On any request chew up their cookies. So if you have a master page you can look for the corrupt cookie in the request. If it is there you can set the expiry of that cookie to a time in the past effectively deleting it for them.

    ReplyDelete
  3. Motifz Designer Lawn. 1, 2 & 3 Piece Unstitched Premium Embroidered Lawn 2019, Premium embroidered Lawn, Premium lawn, Premium lawn 2019, Motifz, Premium lawn in Pakistan, Summer collection. Shipping worldwide. Stitching option available.

    ReplyDelete
  4. I took a look more closely at the URL that was returning the 400 and it was not the same as the one I put into the Web Performance test. It had suffixed my URL with %3C%25 - I had a look and this is URL encoding for <%. The 'start writing code' symbol in web forms pages/views. MS-200 dumps

    ReplyDelete


  5. شركة غسيل سجاد الكويت مصبغة غسيل سجاد الكويت
    فني كهربائي منازل الكويت فني كهربائي منازل الكويت

    شركة تنظيف في الكويت شركة الكويت سيرفيس للتنظيف

    ReplyDelete
  6. Cited as an influence to contemporary music, The Weeknd net worth is noted for his versatility in vocal style, music production, and eccentric presentation. He began his recording career in 2010, anonymously uploading several songs to YouTube. A year later, the Weeknd released the mixtapes House of Balloons, Thursday, and Echoes of Silence, and quickly earned a following and critical recognition from several mainstream publications due to his dark style of R&B and the mystique surrounding his identity. In 2012, the Weeknd signed with Republic Records, and re-released the mixtapes in the compilation album Trilogy (2012). His debut studio album, Kiss Land, was released in 2013. He followed it with Beauty Behind the Madness (2015), which was among the best-selling albums of 2015. With the Billboard Hot 100 number-one singles "Can't Feel My Face" and "The Hills", Beauty Behind the Madness won Best Urban Contemporary Album and was nominated for Album of the Year at the 2016 Grammy Awards. The Weeknd's third album Starboy (2016) was a similar commercial success and included the number-one single of the same name, and also won Best Urban Contemporary Album at the 2018 Grammy Awards. His fourth album, After Hours (2020), featured the number-one singles "Heartless" and "Blinding Lights". Among the world's best-selling music artists, with over 75 million records sold, The Weeknd has won three Grammy Awards, five American Music Awards, nine Billboard Music Awards, two MTV Video Music Awards, nine Juno Awards, and has been nominated for an Academy Award. He holds several chart records, being the first artist to simultaneously hold the top three positions on the Billboard Hot R&B Songs chart with "Can't Feel My Face", "Earned It", and "The Hills". The Weeknd was awarded the Allan Slaight Award by Canada's Walk of Fame.

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. This post was very well written, and it also contains a lot of useful facts. I enjoyed your distinguished way of writing the post. Thanks, you have made it easy for me to understand.

    Accounting Firms Melbourne
    Bookkeeping Services Melbourne
    Tax Agent Melbourne
    Small Business Accountant Melbourne

    ReplyDelete
  9. Do you need Quick Loan to settle your bills and startup
    business? contact us now with your details to get a good
    Loan at a low rate of 2% per Annual
    Do you need Personal Finance?
    Business Cash Finance?
    Unsecured Finance
    Fast and Simple Finance?
    Quick Application Process?
    Finance. Services Rendered include,
    *Debt Consolidation Finance
    *Business Finance Services
    *Personal Finance services Help
    contact us for more information on how to get started:
    (Whats App) number:+919394133968
    please contact email id : patialalegitimate515@gmail.com
    Mr Sorina Jeffery

    ReplyDelete
  10. Buy sleeveless tops online online from Dshred at best prices delivered at your doorstep. Get free shipping

    ReplyDelete