Internet of Things architecture example—use of standard inspection tools (Internet of Things suite stress testing)

1. Installation package

download

2. Install MySQL database

 If it is prompted that C++ 2015 components are missing during installation, you need to execute vc_redist.x64.exe to modify it. Just double-click to execute vc_redist.x64.exe.

 After installing here, in addition to the root account, you need to add a gps account. This is the account required by the inspection tool to connect to mysql. Account name: gps Password: A@j*3df)34c$311

Click "Next" to continue the installation.

 Until the following appears: MySQL Server 8.0.11 Configuration Complete can be canceled directly.

3.Install Navicat for MySQL

 After installation, execute PatchNavicat.exe to activate Navicat.

Find the navicat.exe executable file and click to open it to complete activation.

 4. Use Navicat to connect to MySQL

If the following prompt appears:

 It is necessary to modify the authentication protocol mode of the account. Find the MySQL command line client shown below.

 Log in to MySQL with the root password.

 Execute the following command: 123456 is the password of the root account, modify it yourself

alter user 'root'@'localhost' identified with mysql_native_password by '123456';

 

 Then execute:

flush privileges;

 Modify the gps account we need to use as mentioned above:

implement:

alter user 'gps'@'localhost' identified with mysql_native_password by 'A@j*3df)34c$311';

Then execute: execute:

flush privileges;

 Then we can connect to our local MySQL database through Navicat normally.

 5. Import testgpscompany database

Create a database named testgpscompany, configure the character set and sorting rules as shown in the figure, and use UTF-8

 After creating the database, execute the testgpscompany.sql script

 

 

 6. Assign management rights to the testgpscompany library to the gps account

 

 Save permissions.

7. Use of pressure measurement tools

7.1.Configure ini file

 

 7.2. Start the pressure measurement tool

If the following prompt appears:

 It means that the VC environment is missing and the VC environment needs to be repaired.

 Use this to perform one-click repair of the VC environment.

Then it can be opened normally.

 Configure the stress testing platform and simulated terminal ID

 After confirmation, save the configuration.

After logging in and authenticating with admin, admin, you can start the stress test.

The pressure measurement status can be viewed by printing.

 

 Screenshot of my concurrent testing process (using RabbitMQ to monitor the queue situation):

 

Supongo que te gusta

Origin blog.csdn.net/qq_17486399/article/details/128454622
Recomendado
Clasificación