Test procedure for RD service devices running on proprietary operating systems

446 views
Skip to first unread message

Arvind Kini

unread,
May 24, 2017, 8:55:32 AM5/24/17
to aadha...@googlegroups.com
The following is the approach for performing functional tests of RD service running on devices with operating systems other than  Windows/Android/Linux and for devices running under embedded OS

Should have 2 versions of RD service. One as provisional certification version and one as the production version. The Provisional certification version of RD service should allow requests from a different host (Test Rig) and the actual one which doesnot allow connections from different host for production use

Functional test rig testing Procedure: 
1. Test rig would run on a different windows host. 
2. For provisional certification and its preparation, use the version of RD service which allows requests coming from a different host(Test rig).
3. the device (e.g. POS) would be connected to the test rig host (either through LAN or internal WiFi) 
4. the device (e.g. POS) should have the IP address in the same subnet as the host which runs the test rig. 
5. The test rig developed for Windows connects to RD service through http protocol. 
6. A MD5 checksum should be created from the version of RD service which doesnot allow requests coming from different host (prod version) 
7. Test rig would include a test to test that the final blocking of calls from other hosts (other than localhost) is implemented within the RD service (prod version) . 
8. Attached is the zip with the latest test cases(JSON files) to be used with the windows Test rig

Security RIG Note:
Since the security test rig is developed in python 2.7 with objectify package(LXML installation)  , it is mandatory that the embedded linux POS should have this Python version and above to enable security rig to run 

For any queries/clarifications - pls reply to this mail thread

regards
Arvind



On Tue, May 23, 2017 at 12:52 PM, 'vinutha.vaze' via Aadhaar Registered Devices Discussion Group <aadha...@googlegroups.com> wrote:
Dear UIDAI Team 


To test for STQC compliance of embedded RD service, we suggest below solution.

1) STQC can develop test jig in C and share the code to all manufacturers.
Manufacturers  will make/implement  modification according to their system in test Jig(Just porting and compilation, no logical change) and take approval of their modification from STQC or UIDAI.

2) Test Jig will run on PC and it will fire all queries through network. Manufacturer will allow network packet in RD service for STQC approval and then after manufacturer will remove option to get request from network, and STQC can also take undertaking from manufacturer for not to accept network queries in production version


Regards
Vinutha Vaze
Matrix Comsec Pvt Ltd



On Friday, May 19, 2017 at 12:22:47 PM UTC+5:30, natekar srinivas wrote:

Dear All,

 

As discussed in vendor meeting we need to work in collaborative model to overcome challenges facing with Embedded-Linux Test rig.  


Following options are available with vendors to proceed with Test Rig.  

Option 1- Check the possibilities of using existing test rig with compatible modification and execute.

Option 2- Create new test rig using  any language which is convenient to all and faster way to implement. Some vendor suggested  C, Python.. etc

Option 3- Distribution Module implementation among the vendors and later it can be integrate and release to all for testing. 


Lets work together get faster delivery!!!

Regards,

Srinivas

UIDAI Team


On Fri, May 19, 2017 at 9:38 AM, <ra...@aqtronics.com> wrote:
Uidai team ,

Is the Embedded Linux test rig ready for testing ?




On Thu, May 18, 2017 at 9:57 PM +0530, "Gaurav Sarin" <gsarin...@gmail.com> wrote:

Dear All,

 

Please raise all your queries regarding Embedded Linux in this thread ONLY.

 

Best Regards,

Gaurav

--
You received this message because you are subscribed to the Google Groups "Aadhaar Registered Devices Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+...@googlegroups.com.
To post to this group, send email to aadha...@googlegroups.com.
Visit this group at https://groups.google.com/group/aadhaar_rd.
To view this discussion on the web visit https://groups.google.com/d/msgid/aadhaar_rd/159f9984-44fa-4da6-8cce-0fb627985f04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Aadhaar Registered Devices Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+...@googlegroups.com.
To post to this group, send email to aadha...@googlegroups.com.
Visit this group at https://groups.google.com/group/aadhaar_rd.
To view this discussion on the web visit https://groups.google.com/d/msgid/aadhaar_rd/A19D3058F19BA8D9.03703f72-7146-4b7a-88e1-f10b033f8e00%40mail.outlook.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Aadhaar Registered Devices Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+unsubscribe@googlegroups.com.
To post to this group, send email to aadha...@googlegroups.com.
Visit this group at https://groups.google.com/group/aadhaar_rd.
To view this discussion on the web visit https://groups.google.com/d/msgid/aadhaar_rd/67c7f3b5-e678-4088-bf12-6afbd4f2989a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

functional-test-cases-Windows.zip

udita singh

unread,
Jun 21, 2017, 6:04:54 AM6/21/17
to Aadhaar Registered Devices Discussion Group
Hi,

Can you please let us know how the RD service IP can be configured in the Test RIG, as we need to change it for calling the RD running on the POS machine. Currently we are using the  latest test RIG but it is connecting to the RD only on 127.0.0.1, which is local host.

Arvind Kini

unread,
Jun 21, 2017, 8:05:25 AM6/21/17
to aadha...@googlegroups.com
Hi Udita

two things to change: 

1. On the test rig landing page there is an option to change the "RD Host name" to a different IP (other than localhost) where the RD service is running. Alternatively - the "rdHost" and "rdPort" values need to be changed in config.js file of the test rig

2. RD service should be changed to allow access from IP s outside the localhost. (this is only for the certification tests) post which the access to IP s outside localhost must be disallowed. 

regards
Arvind


To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+unsubscribe@googlegroups.com.

To post to this group, send email to aadha...@googlegroups.com.
Visit this group at https://groups.google.com/group/aadhaar_rd.

udita singh

unread,
Jun 21, 2017, 8:55:07 AM6/21/17
to Aadhaar Registered Devices Discussion Group
Hi,
we have done the changes in the config file as


 "port":"8092",

  "rdHost":"10.132.208.87",

  "rdPort":"80"

which is the same on which our POS is running the RD,
and restart the test service , but still found that the test RIG sending the request to the IP 127.0.0.1, the screen shot for the same is also attached.
Browser.png
Reply all
Reply to author
Forward
0 new messages