'I can't send post by jmeter ,when i connect a ssl vpn client

I can't send post by jmeter ,when i connect a ssl vpn client,but postman is ok,i do't know why

enter image description here



Solution 1:[1]

Theoretically it shouldn't be any difference, given you're sending the same request you should get the same response.

In order to ensure that JMeter is configured to send the same request as Postman does just record the request (or collection) execution using JMeter's HTTP(S) Test Script Recorder.. All you need to do is

  1. to configure Postman to use JMeter as the proxy

    enter image description here

  2. and to import JMeter's MITM certificate into Postman.

    enter image description here

See How to Convert Your Postman API Tests to JMeter for Scaling article for more details.

Depending on your VPN details you might also need to instruct JMeter to use the network interface of the VPN client for sending the requests, it can be done using HTTP Request Defaults

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dmitri T