hash stringlengths 32 32 | doc_id stringlengths 7 13 | section stringlengths 3 121 | content stringlengths 0 2.2M |
|---|---|---|---|
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 5.2.1.4 Test coverage | The table above each test procedure indicates the correspondence between the Conformance Requirements Reference (CRR) and the different test cases. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 5.3 Initial conditions | The Initial Conditions are a set of general prerequisites for the (U)SIM prior to the execution of testing. For each test procedure described in the present document, the following rules apply to the Initial Conditions: • unless otherwise stated, before installing the applet(s) relevant to the current test procedure, a... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 5.4 Package name | Java packages integrating this Test Suite shall follow this naming convention: uicc.scws.test.[Test Area Reference]: Java Card packages containing Test Area References for the TS 102 588 [2] uicc.scws package. uicc.scws.test.scwsframework.[Test Area Reference]: Java Card packages containing Test Area References for the... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 5.5 AID coding | The AID coding for the Test Packages, Applet classes and Applets shall be as specified in TS 101 220 [10]. In addition, the following TAR and Application Provider specific data values are defined for use within the present document: AID coding Byte 1 Byte 12 Byte 13 Byte 14 Byte 15 Byte 16 Application Provider specific... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 5.6 Test equipment | These clauses recommend a minimum specification for each of the items of test equipment referenced in the tests. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 5.6.1 Test tool | This test tool shall meet the following requirements: • be able to send and receive HTTP messages to the SCWS in the UICC; • the result of I/O commands must be presented at the application layer; • be able to provide results of the tests; • shall send and/or compare all HTTP messages specified in the test files. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 5.6.2 Interfaces and classes use | The SCWS test tool extends the UICC test tool defined in TS 102 268 [9]. Therefore the SCWS test tool cannot be run without having implemented the UICC test tool. The SCWS test tool shall use the interfaces and classes as defined in Annex C. They define the only allowed methods to write the test sources. Interfaces and... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 5.6.3 Util package | Annex C includes java source code of TestScwsApplet abstract class of the uicc.scws package. Each test applet shall extend this abstract class in order to retrieve test results when selecting it. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 5.6.4 Java Software Development Kit | Java Card™ software development kit (SDK) version supported by Java Card 2.2.2 specifications ([6], [7], [8]) is 1.4.1. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6 Test Cases | |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1 class uicc.scws | |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.1 Class ScwsExtensionRegistry | 6.1.1.1 Method register Test Area Reference: API_1_Ser_Regi. ETSI ETSI TS 102 835 V8.1.0 (2012-03) 20 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.1.1.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. static void register(ScwsExtension scwsExtension, byte[] appId, short offset, short length) throws java.lang.NullPointerException, java.lang.ArrayIndexOutOfBoundsException, ScwsException 6.1.1.1.1.1 Normal execution • CRRN1: registers the... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.1.1.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_Api_1_Ser_Regi.java. Test Applet: Api_1_Ser_Regi_1.java. Cap File: Api_1_Ser_Regi.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.1.1.3 Test coverage | CRR number Test case number N1 8 P1 1 P2 2 P3 3, 4, 5, 6, 7 C1 9, 10 ETSI ETSI TS 102 835 V8.1.0 (2012-03) 21 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.1.1.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 0 Instanciate an object implementing the scwsExtension interface 1 Null scwsExtension register() NullPointerException is thrown 2 Null appId register() NullPointerException is thrown 3 offset > appId.length register() appId.length = 5 offset ... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.1.2.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. static void deregister(ScwsExtension scwsExtension) throws java.lang.NullPointerException, ScwsException, java.lang.SecurityException 6.1.1.2.1.1 Normal execution • CRRN1: deregisters the scwsExtension object from the SCWS. 6.1.1.2.1.2 Pa... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.1.2.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_ Api_1_Ser_Dreg.java. Test Applet: Api_1_Ser_Dreg_1.java. Api_1_Ser_Dreg_Helper.java. Cap File: Api_1_Ser_Dreg.cap. Cap File: Api_1_Ser_Dreg_Helper.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.1.2.3 Test coverage | CRR number Test case number N1 3 P1 2 C1 1 C2 5 C3 4 |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.1.2.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 0 Instanciate an object implementing the scwsExtension interface. 1 No previous registration deregister() ScwsException with reason code SCWSEXTENSION_REGISTRY_ERROR is thrown Register the object to the SCWS 2 Null scwsExtension deregister() ... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.2 Interface ScwsExtension | This interface is implicitely tested by the tests covering the SCWSExtensionService. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3 Class ScwsExtensionService | 6.1.3.1 Method doDelete Test Area Reference: Api_1_Ses_Ddel. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.1.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. public void doDelete(HttpRequest request, HttpResponse response) throws ScwsException 6.1.3.1.1.1 Normal execution • n/a. 6.1.3.1.1.2 Parameter Errors • n/a. 6.1.3.1.1.3 Context errors • CRRC1: if a ScwsException with reason code METHOD_N... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.1.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_Api_1_Ses_Ddel.java. Test Applet: Api_1_Ses_Ddel_1.java. Cap File: Api_1_Ses_Ddel.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.1.3 Test coverage | CRR number Test case number C1 1 ETSI ETSI TS 102 835 V8.1.0 (2012-03) 24 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.1.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 0 Instantiate an doDeleteScwsExtensionServiceObject object and register to the SCWS. Map the object to the path "/Test_Api_1_Ses_Ddel" in the SCWS and send a HTTP Delete request to the SCWS triggering the application. 1 Throw ScwsException wi... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.2.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. public void doGet(HttpRequest request, HttpResponse response) throws ScwsException 6.1.3.2.1.1 Normal execution • n/a. 6.1.3.2.1.2 Parameter Errors • n/a. 6.1.3.2.1.3 Context errors • CRRC1: if an ScwsException with reason code METHOD_NOT... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.2.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_Api_1_Ses_Dget.java. Test Applet: Api_1_Ses_Dget_1.java. Cap File: Api_1_Ses_Dget.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.2.3 Test coverage | CRR number Test case number C1 1 ETSI ETSI TS 102 835 V8.1.0 (2012-03) 25 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.2.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 0 Instantiate an doGetScwsExtensionServiceObject object and register to the SCWS. Map the object to the path "/Test_Api_1_Ses_Dget" in the SCWS and send a HTTP Get request to the SCWS triggering the application. 1 Throw ScwsException with rea... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.3.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. public void doHead(HttpRequest request, HttpResponse response) throws ScwsException 6.1.3.3.1.1 Normal execution • n/a. 6.1.3.3.1.2 Parameter Errors • n/a. 6.1.3.3.1.3 Context errors • CRRC1: if an ScwsException with reason code METHOD_NO... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.3.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_Api_1_Ses_Dhea.java. Test Applet: Api_1_Ses_Dhea_1.java. Cap File: Api_1_Ses_Dhea.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.3.3 Test coverage | CRR number Test case number C1 1 ETSI ETSI TS 102 835 V8.1.0 (2012-03) 26 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.3.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 0 Instantiate an doHeadScwsExtensionServiceObject object and register to the SCWS. Map the object to the path "/Test_Api_1_Ses_Dhea" in the SCWS and send a HTTP Head request to the SCWS triggering the application. 1 Throw ScwsException with r... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.4.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. public void doOptions(HttpRequest request, HttpResponse response) throws ScwsException 6.1.3.4.1.1 Normal execution • n/a. 6.1.3.4.1.2 Parameter Errors • n/a. 6.1.3.4.1.3 Context errors • CRRC1: if a ScwsException with reason code METHOD_... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.4.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_Api_1_Ses_Dopt.java. Test Applet: Api_1_Ses_Dopt_1.java. Cap File: Api_1_Ses_Dopt.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.4.3 Test coverage | CRR number Test case number C1 1 ETSI ETSI TS 102 835 V8.1.0 (2012-03) 27 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.4.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 0 Instantiate an doOptionsScwsExtensionServiceObject object and register to the SCWS. Map the object to the path "/Test_Api_1_Ses_Dopt" in the SCWS and send a HTTP Options request to the SCWS triggering the application. 1 Throw ScwsException ... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.5.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. public void doPost(HttpRequest request, HttpResponse response) throws ScwsException 6.1.3.5.1.1 Normal execution • n/a. 6.1.3.5.1.2 Parameter Errors • n/a. 6.1.3.5.1.3 Context errors • CRRC1: if an ScwsException with reason code METHOD_NO... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.5.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_Api_1_Ses_Dpos.java. Test Applet: Api_1_Ses_Dpos_1.java. Cap File: Api_1_Ses_Dpos.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.5.3 Test coverage | CRR number Test case number C1 1 ETSI ETSI TS 102 835 V8.1.0 (2012-03) 28 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.5.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 0 Instantiate an doPostScwsExtensionServiceObject object and register to the SCWS. Map the object to the path "/Test_Api_1_Ses_Dpos" in the SCWS and send a HTTP Post request to the SCWS triggering the application. 1 Throw ScwsException with r... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.6.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. public void doPut(HttpRequest request, HttpResponse response) throws ScwsException 6.1.3.6.1.1 Normal execution • n/a. 6.1.3.6.1.2 Parameter Errors • n/a. 6.1.3.6.1.3 Context errors • CRRC1: if a ScwsException with reason code METHOD_NOT_... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.6.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_Api_1_Ses_Dput.java. Test Applet: Api_1_Ses_Dput_1.java. Cap File: Api_1_Ses_Dput.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.6.3 Test coverage | CRR number Test case number C1 1 ETSI ETSI TS 102 835 V8.1.0 (2012-03) 29 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.6.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 0 Instantiate an doPutScwsExtensionServiceObject object and register to the SCWS. Map the object to the path "/Test_Api_1_Ses_Dput" in the SCWS and send a HTTP Put request to the SCWS triggering the application. 1 Throw ScwsException with rea... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.7.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. public void doTrace(HttpRequest request, HttpResponse response) throws ScwsException 6.1.3.7.1.1 Normal execution • n/a. 6.1.3.7.1.2 Parameter Errors • n/a. 6.1.3.7.1.3 Context errors • CRRC1: if a ScwsException with reason code METHOD_NO... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.7.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_Api_1_Ses_Dtra.java. Test Applet: Api_1_Ses_Dtra_1.java. Cap File: Api_1_Ses_Dtra.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.7.3 Test coverage | CRR number Test case number C1 1 ETSI ETSI TS 102 835 V8.1.0 (2012-03) 30 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.3.7.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 0 Instantiate an doTraceScwsExtensionServiceObject object and register to the SCWS. Map the object to the path "/Test_Api_1_Ses_Dtra" in the SCWS and send a HTTP Trace request to the SCWS triggering the application. 1 Throw ScwsException with... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4 Interface HttpRequest | 6.1.4.1 Method findAndCopyKeywordValue Test Area Reference: Api_1_Hrq_Fckw. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.1.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. short findAndCopyKeywordValue(byte[] headerKeywordName, short nameOffs, short nameLength, byte[] buffer, short bufferOffs, short maxLength) throws: java.lang.NullPointerException, java.lang.ArrayIndexOutOfBoundsException. 6.1.4.1.1.1 Norm... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.1.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_Api_1_Hrq_Fckw_Bss_Bss.java. Test Applet: Api_1_Hrq_Fckw_Bss_Bss_1.java. Cap File: Api_1_Hrq_Fckw_Bss_Bss.cap. ETSI ETSI TS 102 835 V8.1.0 (2012-03) 31 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.1.3 Test coverage | CRR number Test case number P1 1 P2 2 P3 3, 4, 5, 6, 7 N1 9 N2 8 |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.1.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 1 findAndCopyKeywordValue () with a null headerKeywordName NullPointerException is thrown 2 findAndCopyKeywordValue () with a null buffer NullPointerException is thrown 3 bufferOffs ≥ buffer.length findAndCopyKeywordValue () nameOffs = 0 buff... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.2.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. short findAndCopyKeywordValue(short keywordId, byte[] buffer, short bufferOffs, short maxLength) throws ScwsException, NullPointerException, ArrayIndexOutOfBoundsException ETSI ETSI TS 102 835 V8.1.0 (2012-03) 32 (Release 8) 6.1.4.2.1.1 N... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.2.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_Api_1_Hrq_Fckws_Bss.java. Test Applet: Api_1_Hrq_Fckws_Bss_1.java. Cap File: Api_1_Hrq_Fckws_Bss.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.2.3 Test coverage | CRR number Test case number P1 1 P2 2 P3 19 P4 20, 21, 22, 23, 24 N1 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 ETSI ETSI TS 102 835 V8.1.0 (2012-03) 33 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.2.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 1 findAndCopyKeywordValue() keywordId = ScwsConstants.HEADER_ACCEPT_ENCODING [not present in request] bufferOffs = 0 ScwsConstants.KEYWORD_NOT_FOUND 2 findAndCopyKeywordValue() keywordId = 99 (Unknown) bufferOffs = 0 ScwsException - with reas... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.3.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. int getContentLength() 6.1.4.3.1.1 Normal execution • CRRN1: Returns the length of the HTTP request content. 6.1.4.3.1.2 Parameter Errors • None. 6.1.4.3.1.3 Context errors • None. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.3.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_Api_1_Hrq_Gcle.java. Test Applet: Api_1_Hrq_Gcle_1.java. Cap File: Api_1_Hrq_Gcle.cap. ETSI ETSI TS 102 835 V8.1.0 (2012-03) 35 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.3.3 Test coverage | CRR number Test case number N1 1, 2 |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.3.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 1 Normal execution Send a HTTP request of 0xFF bytes. getContentLenght() returns 0xFF 2 Normal execution Send a HTTP request of 0x00 bytes. getContentLenght() returns 0x00 NOTE: Tests regarding the upper boundaries of the HTTPRequest buffer c... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.4.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. short getContentType() 6.1.4.4.1.1 Normal execution • CRRN1: Returns the content-type keyword of the HTTP request or an appropriate error code. 6.1.4.4.1.2 Parameter Errors • None. 6.1.4.4.1.3 Context errors • None. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.4.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_Api_1_Hrq_Gcty.java. Test Applet: Api_1_Hrq_Gcty_1.java. Cap File: Api_1_Hrq_Gcty.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.4.3 Test coverage | CRR number Test case number N1 1,2,3,4 ETSI ETSI TS 102 835 V8.1.0 (2012-03) 36 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.4.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 1 Normal execution Send a HTTP request with content type set to: text/html. Returns ScwsConstants.CONTENT_TYPE_TEXT_HTML 2 Normal execution Send a HTTP request with content type set to: text/plain. Returns ScwsConstants.CONTENT_TYPE_TEXT_PLAI... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.5.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. short getRequestHttpVersion() 6.1.4.5.1.1 Normal execution • CRRN1: Returns the version of the HTTP protocol of the current request. 6.1.4.5.1.2 Parameter Errors • None. 6.1.4.5.1.3 Context errors • None. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.5.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_Api_1_Hrq_Grhv.java. Test Applet: Api_1_Hrq_Grhv_1.java. Cap File: Api_1_Hrq_Grhv.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.5.3 Test coverage | CRR number Test case number N1 1, 2 ETSI ETSI TS 102 835 V8.1.0 (2012-03) 37 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.5.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 1 Normal execution Send a HTTP request with protocol version set to: HTTP/1.0. Returns ScwsConstants.HTTP_PROTOCOL_VERSION_10 2 Normal execution Send a HTTP request with protocol version set to: HTTP/1.1. Returns ScwsConstants.HTTP_PROTOCOL_V... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.6.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. short readContent(int requestOffset, byte[] data, short offset, short len) throws: ScwsException java.lang.NulPointerException java.lang.ArrayIndexOutOfBoundsException |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.6.1.1 Normal execution | • CRRN1: Read a part of the request content and copy it in the data buffer. 6.1.4.6.1.2 Parameter Errors • CRRP1: if the data buffer is equal to null, a java.lang.Null PointerException is thrown. • CRRP2: if the copy operation would cause access out of bounds, a java.lang.ArrayIndexOutOfBoundsException will be thrown. ... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.6.3 Test coverage | CRR number Test case number N1 1, 2 P1 3 P2 4, 5, 6, 7, 8 P3 9, 10 |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.6.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 1 Normal execution Send a request with Content-length set to 0x20 readContent() requestOffset = 0 offset = 0 len = 0x10 Data buffers contains the first bytes of the request content 2 Normal execution Send a request with Content-length set to ... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.7.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. short readContentType(byte[] data, short offs, short len) throws: java.lang.NulPointerException java.lang.ArrayIndexOutOfBoundsException 6.1.4.7.1.1 Normal execution • CRRN1: Reads the content type given in the HTTP request and copy it in... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.7.2 Test area files | Specific triggering: Unrecognized envelope: Test Source: Test_Api_1_Hrq_Rcty.java. Test Applet: Api_1_Hrq_Rcty_1.java. Cap File: Api_1_Hrq_Rcty.cap. ETSI ETSI TS 102 835 V8.1.0 (2012-03) 40 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.7.3 Test coverage | CRR number Test case number N1 1, 2 P1 3 P2 4, 5, 6, 7, 8 |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.4.7.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 1 Normal execution Send a HTTP request with content type set to: text/html. readContentType() data.length = 0x20 offs = 0x00 len = 0x0A text/html is written in the data buffer and the method returns 0x08 2 Normal execution Send a HTTP request... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5 Interface HttpResponse | 6.1.5.1 Method appendContent Test Area Reference: Api_1_Hrs_Acon. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.1.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. void appendContent(byte[] data, short offset, short length) throws ScwsException 6.1.5.1.1.1 Normal execution • CRRN1: Writes the content of data into the HttpResponse. • CRRN2: Invoking this method implicitly finalizes the header of the ... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.1.2 Test area files | Specific triggering: None: Test Source: Test_Api_1_Hrs_Acon.java. Test Applet: Api_1_Hrs_Acon _1.java. Cap File: Api_1_Hrs_Acon.cap. ETSI ETSI TS 102 835 V8.1.0 (2012-03) 42 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.1.3 Test coverage | CRR number Test case number N1 1, 2, 3, 4, 5, 14 N2 4 N3 2, 14 P1 6 P2 7 P3 8 P4 9 C1 12, 13 C2 10 C3 11 |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.1.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 1 append chunk off writeStatusCode(200) finalizeHeader() appendContent( data = [Hello World] offset = 0 length = 6) appendContent( data = [Hello World] offset = 6 length = 5) flush() HTTPResponse ( statusCode = "200" Header("Content-Length") ... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.2.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. void appendHeaderVariable(byte[] data, short offset, short length) throws ScwsException 6.1.5.2.1.1 Normal execution • CRRN1: Writes a header variable to outgoing buffer, "CRLF" will be appended automatically. • CRRN2: The header variable... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.2.2 Test area files | Specific triggering: None: Test Source: Test_Api_1_Hrs_Ahva_Bss.java. Test Applet: Api_1_Hrs_Ahva_Bss_1.java. Cap File: Api_1_Hrs_Ahva_Bss.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.2.3 Test coverage | CRR number Test case number N1 1, 2, 3, 4 N2 1, 2, 3, 4 P1 5 P2 6 P3 7 P4 8 C1 9, 10 C2 11 C3 12 C4 13 |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.2.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 1 Basic writeStatusCode(200) appendHeaderVariable( data= [A: B], offset= 0, length= 4) finalizeHeader(); appendContent([OK],0,2); flush(); HTTPResponse ( statusCode = "200" Header("A") = "B" Header("Content-Length") = "2" contentBody = "OK" )... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.3.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. void appendHeaderVariable(byte[] name, short nameOffset, short nameLength, byte[] value, short valueOffset, short valueLength) throws ScwsException 6.1.5.3.1.1 Normal execution • CRRN1: Appends a header variable to outgoing. The colon and... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.3.2 Test area files | Specific triggering: None: Test Source: Test_Api_1_Hrs_Ahva_Bss_Bss .java. Test Applet: Api_1_Hrs_Ahva_Bss_Bss_1.java. Cap File: Api_1_Hrs_Ahva_Bss_Bss.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.3.3 Test coverage | CRR number Test case number N1 1, 2, 3, 4, 5 N2 1, 2, 3, 4, 5 P1 6 P2 7 P3 8 P4 10 P5 12 P6 9 P7 11 P8 13 C1 14, 15 C2 16 C3 17 C4 18 |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.3.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 1 Basic writeStatusCode(200) appendHeaderVariable( name= [A], nameOffset= 0, nameLength= 1, value=[B], value Offset= 0, value Length= 1) finalizeHeader(); appendContent([OK],0,2); flush(); HTTPResponse ( statusCode= "200" Header("A")= "B" Hea... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.4.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. void appendHeaderVariable(short headerKeywordNameId, byte[] value, short valueOffset, short valueLength) throws ScwsException 6.1.5.4.1.1 Normal execution • CRRN1: Appends a header variable to outgoing. The colon and space (":") as well a... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.4.2 Test area files | Specific triggering: None Test Source: Test_Api_1_Hrs_Ahva_sBss.java. Test Applet: Api_1_Hrs_ Ahva_sBss_1.java. Cap File: Api_1_Hrs_ Ahva_sBss.cap. ETSI ETSI TS 102 835 V8.1.0 (2012-03) 54 (Release 8) 6.1.5.5 Method enableChunkMode Test Area Reference: Api_1_Hrs_Encm. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.5.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. void enableChunkMode() 6.1.5.5.1.1 Normal execution • CRRN1: Informs the SCWS to use the chunked mode for sending the response. • CRRN2: Chunked mode off is the default mode. • CRRN3: This allows the SCWS to handle large amounts of respon... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.5.2 Test area files | Specific triggering: None: Test Source: Test_Api_1_Hrs_Encm.java. Test Applet: Api_1_Hrs_Encm_1.java. Cap File: Api_1_Hrs_Encm.cap. |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.5.3 Test coverage | CRR number Test case number N1 1, 2, 3, 11 N2 4 N3 5, 6 C1 7, 8 C2 9 C3 10 ETSI ETSI TS 102 835 V8.1.0 (2012-03) 55 (Release 8) |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.5.4 Test procedure | Test Case Id Description API/SCWS Framework Expectation APDU/HTTP Expectation 1 call in First enableChunkMode() writeStatusCode(200) appendHeaderVariable( headerKeywordNameId= 1, value= [header1header2], valueOffset= 0, valueLength= 7) finalizeHeader(); appendContent([OK],0,2); flush(); HTTPResponse ( statusCode= "200"... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.6.1 Conformance Requirement | The method with following header shall be compliant to its definition in the API. void finalizeHeader()throws ScwsException 6.1.5.6.1.1 Normal execution • CRRN1: Finalizes the header data in the outgoing buffer. It automatically adds missing header data with default values by the SCWS. 6.1.5.6.1.2 Parameter Errors • n/... |
30401c8bcab7a085b1db3be5a9b7a40b | 102 835 | 6.1.5.6.2 Test area files | Specific triggering: None: Test Source: Test_Api_1_Hrs_Finh.java. Test Applet: Api_1_Hrs_Finh_1.java. Cap File: Api_1_Hrs_Finh.cap. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.