Hello,
I would like to know, is it possible to test a self-written application where the client runs on a command line interface?
The communication between server and client is built on https/html.
Is it possible in a private loud zone (AWS) to run this client program on an EC2 instance (multiple times) and use the results with k6 ?
Is there another way to test the self written application with k6?
I already tried to do a normal https test but the used CN is not compliant with the IP/DNSName … or can I pair a TLS test with a https test ?
Please excuse my ignorance, k6 is new to me and I am a little overwhelmed …
Hi @roberto
Welcome to the community forum
and thanks for your question.
What kind of tests are you looking to run for this client? This is usually a good starting point. If you were looking at testing the command line interface application it might not be doable with core k6. We currently support this protocols: Protocols
For load testing we don’t usually test the client directly, but the requests it’s doing to the server side. I understand you are already at that point? You should be able to test the server http/html endpoint directly, without going through the command line interface custom client. If the server-side offers an API, the intro to API Load Testing with k6 is a good read. If the server-side returns html, it might resemble more Load Testing a Website.
I might need some more clarification to help out:
I already tried to do a normal https test but the used CN is not compliant with the IP/DNSName
Can you share a bit more detail of this? You mean that you already attempted to test at protocol level (https) and it fails? What error do you see? It might help us understand the issue if you can share the (sanitized) script and the error you get (--http-debug="full"
will give more details of what is going on)
or can I pair a TLS test with a https test ?
I’m not sure I understand that statement. Probably the script will help provide more context as well.
Cheers!