Connect MQTTBox with RabbitMQ Server for load testing - testing

I was trying to connect mqttbox(Chrome extension) to rabbitmq server for load testing. The client created in mqqtbox is connecting properly but its not able to do load testing.

No much to change, just enable the guest user with administrator permission will resolve the issue.

Related

Setup monitoring for API load testing

I'm new to API Load Testing. Before we started to do API load testing, we need to configure some monitoring setup to monitor CPU usage and JVM heap memory as the test is executed. FYI I'm using Apache JMeter tool to execute the load tests.
For own exercise, I'm trying to do load test using this one sample REST web service: https://reqres.in/
How can I setup monitoring for the server of the sample web service when the web service is not hosted in my own PC? I've tried the JMeter plugin (Perfmon) but I guess this only works when the server is hosted at our own PC. Appreciate for your kind suggestions. Thanks!
Based on your environment set up & access:
If you have rdp or ssh access to server(application under test) , you can use visualVm , Jconsole to monitor CPU & Heap memory.
In case, you don't have access to remote server - then please work with IT or concerned team to help you configure these tools by opening remote JMX port for performance monitoring.
but I guess this only works when the server is hosted at our own PC - that's not true, you can monitor whatever host where the PerfMon Server Agent is running.
Of course you will need access to the host in order to launch the PerfMon Server Agent so you cannot deploy it onto a random machine in the Internet.
Alternative option is using SSHMon Listener, in this case you don't need to install anything but you need to have SSH connectivity to the machine(s) you want to monitor.

How to solve problem to remote access to rabbitmq management console?

I'm new to rabbitmq and just installed two version of rabbitmq on two different devices.
the machines are located in the same network.
I am trying to open management console of one of them through the other one.
but the page does not open.
although i have already enabled the console plugin and i can access it from localhost.
what should I do to solve this problem?
If you are not able to see the login page with the user and password prompt, check your firewall (port 15672). If you see the page but cannot login, the issue is that by default, the guest user can only connect from localhost

Microsoft Azure VPN WebApp not communicating with external SQL

The problem I have is that we're trying to use our WebApp in Microsoft Azure to connect to an external SQL-database (not our own) through a VPN. The SQL-database is only allowing connections from our local IP-addresses that we put up as a Network (for example 176.0.0.0/24).
We are now connected to the same virtual private network, and through our Azure-VM we can now connect to the SQL-Server through SQL Server Management Studio.
Now we want to do the same with a WebApp, but we're not getting through to the server. It gets "Not authenticated" before reaching the SQL-Server (probably the server isn't accepting our IP from the WebApp).
The different problems I have tried to look through is:
Do we only try to connect through our Outbound IPs?
Is the WebApp not connected to the VPN?
I have unfortunatley not found any real answers, and neither any solutions to my problem. If you have any ideas of how to solve our problem, or maybe know how I could tunnel all of the SQL-calls through the VM, the help would be very much appreciated!
Hybrid connection is one option. What you can also do is enable point-to-site in your VPN. Once you do that, you can directly integrate your web app to the vnet and your connections will work. (Go to your web app -> Settings -> Networking -> VNet Integration)
If your Vnet is V1(older way of creating VNs) then enabling point to site is very straightforward. You can do it through portal. For V2 Vnets you have to do it through powershell commands.
Here is a link for the documentation which explains both the options.
https://azure.microsoft.com/en-in/documentation/articles/web-sites-integrate-with-vnet/
There's a way to "tunnel all of the SQL-calls through the VM". You may want to use hybrid connections (cf https://azure.microsoft.com/en-us/documentation/articles/integration-hybrid-connection-overview/).
The principle is to have an agent installed on the VM that can access the database with the correct IP address.
Suppose you can access the SQL DB as mysqldbsrv from the VM. You add an hybrid connection associated to your web app, you install the agent on the VM. Then, when you connect to mysqldbsrv from the Web App, you go through the VM.

openfire connect clients other than spark

I have openfire installed on my windows 7 and I am able to add users in the web admin interface .I am also able to connect clients using spark (locally on localhost).When I try to connect with other clients the connection fails .I have tried Psi (http://psi-im.org/) and the gui example for QXmpp (https://github.com/qxmpp-project/qxmpp/tree/master/examples/GuiClient) .Psi fails saying it is problem with certificates: There was an error communicating with the server.Details: Authentication error: Not authorized. I looked into the security settings and can't find anything that lets the QXmpp gui client connect successfuly .
What can I do to minimize security concerns so my QXmpp clients can connect successfully?I might enable those later as I get more comfortable with xmpp programming. I would appreciate any piece of help.
I don't know if openfire disables other clients to connect by default ,but by installing the Client Control plugin(http://www.igniterealtime.org/projects/openfire/plugins/clientControl.jar) and allowing all clients to connect I was able to connect my QXmpp clients.Hope this helps somebody some day.

Access the glassfish server web application remotely

I am able to access an application on glassfish server locally via http://localhost:8080/domain1 or http://<machine-ip>:8080/domain1. However, I am unable to access it from another remote machine.
When I put http://<machine-ip>:8080/domain1 in a browser, connection timed out.
Firewall is off on both machines and I have also add machine-ip to /etc/hosts file. I can ping glassfish server machine I am using redhat enterprise 6.3 linux on which glassfish is installed.
Please tell how to access it via IP. DO we need to change any configuration file?
Any help would be really appreciated.
Thanks
-Sam
This might be a problem because of Selinux policy being in enforcing mode.
Try changing it to passive or disabled mode and then try accessing your server.