Closed pawan25062 closed 6 years ago
Here is a code work around: in CBRSRequestHandler, def processResponse( ), replace the following code: elif(typeOfCalling == consts.REGISTRATION_SUFFIX_HTTP): if(self.cbsdId==None): self.cbsdId = httpRequest["fccId"]+ "Mock-SAS" + self.cbsdSerialNumber self.assertion.cbsdId = self.cbsdId self.change_Value_Of_Param_In_Dict(specificRespJson, "cbsdId", self.cbsdId)
With the following code:
elif(typeOfCalling == consts.REGISTRATION_SUFFIX_HTTP):
if specificRespJson['response']['responseCode'] == 0:
if(self.cbsdId==None):
self.cbsdId = httpRequest["fccId"]+ "Mock-SAS" + self.cbsdSerialNumber
self.assertion.cbsdId = self.cbsdId
self.change_Value_Of_Param_In_Dict(specificRespJson, "cbsdId", self.cbsdId)
elif 'cbsdId' in specificRespJson:
del specificRespJson['cbsdId']
hi Chris,
We have tried with workaround you have mentioned. But still we are getting CBSD id with non-zero response. WINNF.FT.C.REG.16_2017-11-08T13.20.59Z.zip CBRSRequestHandler.zip
Hi,
Your code change in CBRSRequestHandler.zip (you attached to previous comment) appears to be incorrect. Check your indentation of the lines. You did not indent the 7 lines under the elif (typeOfCalling == ..) statement.
Please check again. Hopefully this will solve your problem.
hi, Tried the same and it is working fine now.
hi,
SAS test harness should not include cbsdId for non-zero response codes(e.g. 102,103,100,101,200,201 etc) in REG response. According to test case document "WINNF-TS-0122-V0.0.0-r5.4 CBRS CBSD Test Specification.docx" it is defined that: