https://github.com/emkeyen/postman-to-jmx
This Python3 script converts your Postman API collections into JMeter test plans. It handles:
Request bodies: Raw JSON, x-www-form-urlencoded.
Headers: All your custom headers.
URL details: Host, path, protocol and port.
Variables: Both collection-level vars and env vars from Postman will be added as "User Defined Variables" in JMeter, so you can easily manage dynamic values.