I have to generate load for my performance testing using JMeter. I am having .Net code to send data to IOT hub which we want to use. I can easily create REST endpoints or executable based on requirement. To integrate with JMeter which Sampler I should prefer OS Sampler or HTTP request Sampler to integrate with existing .Net code.
We will be use distributed testing in JMeter so if we go with REST Endpoints then scaling will be required but scaling is not required in case of executable so I think OS Sampler is better over HTTP request Sampler. Do you see any concern using OS Sampler over HTTP request Sampler? Please suggest performance comparison also.
Thanks in advance.