Welcome to the Jazz Community Forum
When I try to import the REQIF file in test server it gives me error as "The import was rejected. Atleast one package presented was malformed.

One answer

This is one of the best examples for how to not ask a question on this forum.
It is not even a question, just minimal cut and paste effort.
Please see How should I ask a question in the Forum if I want to receive useful answers? on what to consider if asking questions on the forum.
The error message you get is likely because the REQIf import considers at least one package presented was malformed. This means that the data in the REQIF file was somehow not recognizable. Incorrect format, content, encoding, corrupted. Without more data no way of telling.