Requests are NOT capture in Jmeter to run Performance Testing for Desktop application - performance-testing

There is a desktop application which uses HTTP/HTTPS which needs to be done for performance testing.
I have configured Network Proxy settings -> localhost/8888 and Also configured 'same proxy in Jmeter' 8888
I am currently recording the desktop application to do few functions.. But nothing is getting captured in the Jmeter.
Some directions would be appreciative
Thanks,
Chandra

Make sure to add JMeter's self-signed certificate to Windows Trusted Root Certification Authorities
You might also need to install Microsoft Loopback Adapter
Ensure that JMeter is capable of reaching out to the backend, i.e. if you're using proxy for Internet access - make JMeter aware of this proxy
More information: How to Run Performance Tests of Desktop Applications Using JMeter

Related

Measuring the performance of VNC feeds

We have a web application which connects to a remote server through VNC. The user do some use cases on the VNC server through this connection.
I want to do the performance testing of the use cases. How to measure the speed (performance) of the VNC feed from my web application to the VNC server?
I could not find anything with JMeter or Load runner tools, Is there any tools available to measure this?
You can consider using a VNC client library like vernacular-vnc or TightVNC-Java-Viewer in order to connect to the VNC server and consume the video stream and/or send some client actions
The libraries can be used from i.e JSR223 Test Elements using Groovy or you can develop your own JMeter plugin

How can I configure the firewall with node js?

How can I configure the firewall with node js?Could you give me a sample project?
A firewall is a completely different piece of network infrastructure than node.js which is an application environment. So while the two may be used in the same deployment, they are different tools for different jobs. You would not typically "configure the firewall with nodejs". Your firewall would usually have its own admin interface that you can login to and then make configuration changes.
If your firewall had a secure HTTP API for doing firewall administration, you could build a node.js app to login and then send HTTP requests to the firewall to modify its configuration. The details of how to do that depend entirely upon what the HTTP API is in the firewall so we'd need to see that in order to recommend anything more specific. In general, one can make an HTTP request from a node.js app to another HTTP server using the request-promise module in NPM.
Both Windows and Mac (and of course Linux) enable you to view and modify the firewall settings via some kind of command line tool.
For example, this post talks about modifying Windows firewall settings through the netsh command, and this post covers command line firewall management in OSX (Mac).
Since Node.js is able to execute command line commands via Child Processes, theoretically, you can modify a system's firewall settings through code running in Node.js.
There's also an npm package called firewall which claims to "Add or remove system firewall rules using Node.js.".
This is a valid question. Network firewall and application firewall both can co-exist together.

servicestack app host vs iis for high performance REST service

as servicestack leave it open to host service in web server or in stand alone app.
What is the best in term of performance both raw and for a high number of clients ?
Hosting on apache or nginx or XSP or IIS is just for added functionality or for perf ?
servicestack.net itself runs on Ubuntu / Nginx + MonoFastCGI, although we've been notified others have been able to get better performance with self-hosting which you can still serve behind a Nginx/Apache reverse proxy if you still wanted access to a full-featured web server.
You can also wrap a self-hosted ServiceStack in a Linux Daemon.
We've ran into same question while were choosing hosting schema for our ServiceStack services. Ran some benchmarks with same service hosted on self-host and under IIS. SelfHost windows service has shown near 1.5x better performance than IIS-hosted app.
Surely this is not and absolute number and it may vary by service's load type (cpu/io), but it is clear, that IIS routine adds tonns of overhead.
If you need speed and don't worry about all those features IIS can give you (monitoring / advanced routing / admin / etc)- self host is the way to go. Our set-up hides ServiceStack hosts behind nginx nodes that serve all the routing/proxy/balancing stuff so we don`t need monstrous IIS-routine.

Is it possible to run DNSCrypt server on myself?

OpenDNS introduced DNSCrypt, and they runs the server in their OpenDNS server.
http://www.opendns.com/technology/dnscrypt/
And the client program is opensourced:
https://github.com/opendns/dnscrypt-proxy
This is significant for network environment that is censorship-ed, like China.
But OpenDNS servers are quite slow responsive to China, I hope to setup a DNSCrypt server on my own server, but can find nothing like that.
Does anyone know about if the DNSCrypt server part opensource or not ?
Many other servers are supporting the protocol, and it is easy to add it to your own server as well.
See the DNSCrypt implementations section of the documentation for some information.
Most of the servers, if not all, use encrypted-dns-server, either directly or via the DNSCrypt docker image.
The dnscrypt-proxy client also includes step by step instructions to install a dnscrypt server on a VPS.
Another option is PowerDNS dnsdist.

Is there a way to monitor/log all internet requests from Flash/AC3 application?

I have a flash-based (AC3) application which does some network activity. Is there any way to see what requests it generates? Something like network console.
Sources are not available and there is no way to modify the application.
Im on linux platform (Ubuntu), so dont have any flash developer tools. The only solution that comes to my head is to setup traffic logging on OS level.
Any ideas?
You should run Wireshark or Snort. By defining filters (in the case of Wireshark) or rules (in the case of Snort), you can whittle it down.
It will also help if you stop other services/daemons/programs using the HTTP protocol.
You could run it through a local proxy such as Charles Proxy.
Fiddler is another proxy for windows.
You can also use httpWatch which let's you track all requests just like Fiddler.
You can find it here and download the free version: http://www.httpwatch.com/?gclid=CMr11s6-qKQCFcHr7QodjXRW5w

Resources