Hello. In step 2 to test MOSIP authentication, it says 2. Install Postman and import the collection attached in the prerequisites.
Please point me to documentation that explains what Postman collection to import to test MOSIP authentication ? Where to get the collection?
Thank you.
My bad, I wasn’t reading carefully.
So I downloaded the collection - Automation_M.postman_collection.json and imported it as instructed.
Then I run the collection.
How / Where do I find the IDA-DomainName folder inside the temp ?
Hi @rcsampang , the domain name is actually exported from the environment file in the Postman collection.
Can you point me out from where you downloaded the above collection, so that, we can make sure it is available in the same place?
– edit
I found the document in Confluence. I have asked @kavya to help you out!
kavya
June 23, 2023, 10:08am
4
Hi @rcsampang ,
The Domain Name you can find Here .
1)After successfully running the Postman collection you can find the domain folder here
Window R then Type %temp% and search for IDA
As per the document in our case folder will be created with this name:
IDA-minibox2.mosip.net
kavya
June 23, 2023, 10:11am
5
Yes Inside the Temp and search for your domain
Hello @nayakrounak !
Thank you.
Yes I downloaded it from this Confluence post https://mosip.atlassian.net/wiki/spaces/MSD/pages/892796967/Steps+to+test+MOSIP+authentication
@kavya Hello! Thank you. I will try it again and let you know.
@kavya I hope it is not too much to ask. Do you happen to have a step by step tutorial on how to do this?
I am not getting the desired result, I believe I may be doing things the wrong way.
I am having this error when running the collection -
POST http://{{url}}/v1/authmanager/authenticate/clientidsecretkey
Error: getaddrinfo ENOTFOUND {{url}}
Request Headers
Content-Type: application/json
User-Agent: PostmanRuntime/7.32.3
Accept: /
Postman-Token: 88c14d17-da8f-4653-9b11-439979ca083e
Host: {{url}}
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Request Body
POST http://127.0.0.1:4501/admin/role
Error: connect ECONNREFUSED 127.0.0.1:4501
Request Headers
User-Agent: PostmanRuntime/7.32.3
Accept: /
Postman-Token: 0c85969f-9d14-45b9-ae56-7dcbcca45f6c
Host: 127.0.0.1:4501
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
POST http://127.0.0.1:4501/admin/role
Error: connect ECONNREFUSED 127.0.0.1:4501
Request Headers
User-Agent: PostmanRuntime/7.32.3
Accept: /
Postman-Token: 52afcd80-9802-493e-95c2-6848f9fdd49a
Host: 127.0.0.1:4501
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Hi @rcsampang ,
You need to set the {{url}} variable in your environment configuration as your domain name.
You can go through the postman tutorial to set the postman variables here: Using variables | Postman Learning Center
Or
You can hardcode the {{url}} variable in the request URL with the base URL value of your environment.
Thanks,
Rounak
Hi @Hi @nayakrounak ,
I set up the url variable for with our environment configuration but I encountered an error.
POST http://api-internal.mymosip.edu.ph/v1/authmanager/authenticate/clientidsecretkey
Error: connect ECONNREFUSED 10.x.x.170:80
Request Headers
User-Agent: PostmanRuntime/7.32.3
Accept: /
Cache-Control: no-cache
Postman-Token: b4fbf861-9de3-46c9-90d4-d7d36067e16a
Host: api-internal.mymosip.edu.ph
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
POST http://{{url}}/v1/authmanager/authenticate/clientidsecretkey
Hi @rcsampang
I will ask one of my team member to look into the error that you have encountered.
Best Regards,
Team MOSIP