English 中文(简体)
如何对信号R项目进行装入测试
原标题:How to perform Load testing of SignalR projects
I have created a project using SignalR C#. I wanted to perform the load testing. Suggest some ways to perform the same.
最佳回答
Load Testing assumes putting the system under the anticipated load so you need to Mimic real life system usage with 1 thread (virtual user) Add more threads and see how does the system behave in terms of throughput, response time, number of errors, etc. If you re looking for the load testing tools you can consider: Crank, the tool for SignalR performance testing from Microsoft signalr-tester Or any other tool which supports WebSockets and Async Requests
问题回答
Based on my experience. I was using Microfocus LoadRunner tool with version 2022 or 2023. Since the functions for the async calls are not compatible for other versions. Yes testing with JMeter is possible but you need an external plug ins called Parallel controller in order the script to work. Honestly at first it took me 3 weeks just to gather information on how to test signalr in performance testing. If not properly handle it will throw 400 Bad Request errors.




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签