HTTP request

Hey guys,
I was trying to create a tool that generate million HTTP post request and send them to the server with a transaction ID (transaction ID should be unique each time) and check response. but I got nowhere. Any help ?

I managed to generate the random transaction id but I had no idea how to send it multiple times to the host.

void gen_random(char *s, const int len) {
    static const char transactionId[] =
        "0123456789"
        "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
        "abcdefghijklmnopqrstuvwxyz";

    for (int i = 0; i < len; ++i) {
        s[i] = transactionId[rand() % (sizeof(transactionId) - 1)];
    }

    s[len] = 0;
}

Help please

I was trying to create a tool that generate million HTTP post request and send them to the server with a transaction ID (transaction ID should be unique each time) and check response. but I got nowhere. Any help ?

Of what practical use is this request? Why do you need a million request?

Where is the rest of your code? What does it actually do?

Plus what zoomkat asked.