You can work with graphQL Query and Mutation right from the postman tool. You need a end point URL, a graphql query to start with .

For example the below image show the how you can seperate a graphQL query and its parameters .You can also pass the “idvalue” using environment variable as “{{employee_ID_variable}}”.

The response you get should be in line with you request , i.e. in the above ID, firstname, lastname etc.

You can verify any of the data from the response for validation. To do that go to the “Tests” section in the request section and add the below JS code .of course before that you will have to save them while creating an employee(Mutation).

//Below is the assertions code 
//Employee Data Assertion tests["verify the employee ID"] = === pm.environment.get("Employee_ID"); tests["verify the employee First Name"] = === pm.environment.get("employe_firstName"); tests["verify the employee Last Name"] = === pm.environment.get("employe_lastName"); tests["verify the employee Middle Name"] = === pm.environment.get("employe_middleName"); tests["verify the employee Gender"] = === pm.environment.get("employee_gender");