S
S
SEOD2017-02-24 22:58:00
virtual box
SEOD, 2017-02-24 22:58:00

How to make such an "infrastructure" so that copies of the program run independently of each other?

It's hard to explain it exactly, but here's what you need :) There is a network program that needs to be tested. We have clickers that are configured to click in certain places of the program, there are no problems with this. The program works with "drawing" elements (it reacts to the gestures drawn in the program with the cursor), so the mouse is simply necessary for its operation. This explains the use of such "clicker" software with predetermined trajectories of movement.

The goal is to run several copies of this program (5-10 pieces) and test them all at the same time, analyzing the load on the server. But the problem is that there is only one mouse on the computer, and clickers click with the mouse, the mouse is no longer enough for the second copy of the program, but it is necessary that they work in parallel :)

Is it possible to somehow automate this process using virtual machines, etc.? In what direction can you look? As I understand it, you need your own OS for each copy of the program + your own mouse pointer. But even if you run ten VirtualBoxes, there will only be one pointer. What can be done in this case?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
nirvimel, 2017-02-24
@nirvimel

But even if you run ten VirtualBoxes, there will only be one pointer.

No. Each OS has its own pointer. When the VirtulaBox window is activated, events (movements, clicks) from the mouse from the host-OS begin to be broadcast to the mouse driver in the guest system, which moves the pointer in that OS. If you switch between the windows of two running VirtulaBoxes, you can see that the pointer in each of them is in a different place (where you "left" it).
In short: clickers in two different OS will work independently.

S
Saboteur, 2017-02-25
@saboteur_kiev

Yes, any virtual machine will work just fine. In his youth, he launched several virtualboxes, each with its own clicker. I folded them and in parallel went about my business on the host machine.

D
Dimonchik, 2017-02-24
@dimonchik2013

solve the problem differently
non-load on the server is tested wrong

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question