Produced by Araxis Merge on 11/8/2016 5:24:58 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | rxrefill-v2.0.0 P2.zip\rxrefill-resource-master.zip\soapUI | REST-RxRefill-soapui-project.xml | Mon Oct 17 19:31:28 2016 UTC |
| 2 | rxrefill-v2.0.0 P2.zip\rxrefill-resource-master.zip\soapUI | REST-RxRefill-soapui-project.xml | Mon Oct 31 15:14:41 2016 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 55 | 15346 |
| Changed | 54 | 108 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | <?xml | |
| 2 | version="1 .0" | |
| 3 | encoding=" UTF-8" | |
| 4 | ?> | |
| 5 | <con:soapu i-project | |
| 6 | id="dd679c 53-7718-42 6a-b348-02 6b7fa67d80 " | |
| 7 | activeEnvi ronment="D efault" | |
| 8 | name="RXRe fill REST Project-DE V-INT" | |
| 9 | resourceRo ot="" | |
| 10 | soapui-ver sion="5.2. 1" | |
| 11 | abortOnErr or="false" | |
| 12 | runType="S EQUENTIAL" | |
| 13 | xmlns:con= "http://ev iware.com/ soapui/con fig" | |
| 14 | > | |
| 15 | <con:setti ngs> | |
| 16 | <con:setti ng | |
| 17 | id="com.ev iware.soap ui.impl.ws dl.actions .iface.too ls.soapui. TestRunner Action@val ues-local" | |
| 18 | > | |
| 19 | <![CDATA[< xml-fragme nt xmlns:c on="http:/ /eviware.c om/soapui/ config"> | |
| 20 | <con:ent ry key="En vironment" value="De fault"/> | |
| 21 | <con:ent ry key="Gl obal Prope rties" val ue=""/> | |
| 22 | <con:ent ry key="Te stSuite" v alue="Rx R efill Test Suite"/> | |
| 23 | <con:ent ry key="Pa ssword" va lue=""/> | |
| 24 | <con:ent ry key="Te stRunner P ath" value =""/> | |
| 25 | <con:ent ry key="To ol Args" v alue=""/> | |
| 26 | <con:ent ry key="Ig nore Error s" value=" false"/> | |
| 27 | <con:ent ry key="Ho st:Port" v alue=""/> | |
| 28 | <con:ent ry key="us er-setting s.xml Pass word" valu e=""/> | |
| 29 | <con:ent ry key="WS S Password Type" val ue=""/> | |
| 30 | <con:ent ry key="Sa ve Project " value="f alse"/> | |
| 31 | <con:ent ry key="En able UI" v alue="fals e"/> | |
| 32 | <con:ent ry key="Sy stem Prope rties" val ue=""/> | |
| 33 | <con:ent ry key="Do main" valu e=""/> | |
| 34 | <con:ent ry key="Co verage Rep ort" value ="false"/> | |
| 35 | <con:ent ry key="Ex port JUnit Results" value="fal se"/> | |
| 36 | <con:ent ry key="Op en Report" value="fa lse"/> | |
| 37 | <con:ent ry key="Pr oject Prop erties" va lue=""/> | |
| 38 | <con:ent ry key="Ex port All" value="fal se"/> | |
| 39 | <con:ent ry key="Pr oject Pass word" valu e=""/> | |
| 40 | <con:ent ry key="Re port Forma t(s)" valu e=""/> | |
| 41 | <con:ent ry key="Te stCase" va lue="Get R efillable Rx"/> | |
| 42 | <con:ent ry key="Pr int Report " value="f alse"/> | |
| 43 | <con:ent ry key="Us ername" va lue=""/> | |
| 44 | <con:ent ry key="Ro ot Folder" value=""/ > | |
| 45 | <con:ent ry key="Sa ve After" value="fal se"/> | |
| 46 | <con:ent ry key="Ad d Settings " value="f alse"/> | |
| 47 | <con:ent ry key="En dpoint" va lue=""/> | |
| 48 | <con:ent ry key="Se lect Repor t Type" va lue=""/> | |
| 49 | </xml-frag ment>]]> | |
| 50 | </con:sett ing> | |
| 51 | </con:sett ings> | |
| 52 | <con:inter face | |
| 53 | xsi:type=" con:RestSe rvice" | |
| 54 | id="0bf2f1 47-b770-4f bf-b9ab-a5 b08562edd7 " | |
| 55 | wadlVersio n="http:// wadl.dev.j ava.net/20 09/02" | |
| 56 | name="Rx R efill API" | |
| 57 | type="rest " | |
| 58 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 59 | > | |
| 60 | <con:setti ngs/> | |
| 61 | <con:defin itionCache | |
| 62 | type="TEXT " | |
| 63 | rootPart=" " | |
| 64 | /> | |
| 65 | <con:endpo ints> | |
| 66 | <con:endpo int> | |
| 67 | http://loc alhost:808 0 | |
| 68 | </con:endp oint> | |
| 69 | <con:endpo int> | |
| 70 | http://DNS .DNS | |
| 71 | </con:endp oint> | |
| 72 | <con:endpo int> | |
| 73 | http://DNS .DNS :80 80/ | |
| 74 | </con:endp oint> | |
| 75 | <con:endpo int> | |
| 76 | https://DN S.DNS | |
| 77 | </con:endp oint> | |
| 78 | </con:endp oints> | |
| 79 | <con:resou rce | |
| 80 | name="[RXR -560]Presc ription Tr acking" | |
| 81 | path="/RxR efillServi ces/v2/pat ient/presc ription/tr acking" | |
| 82 | id="8c7045 47-ca4c-4a 73-80e9-30 180182d17a " | |
| 83 | > | |
| 84 | <con:setti ngs/> | |
| 85 | <con:param eters/> | |
| 86 | <con:metho d | |
| 87 | name="Rx T racking" | |
| 88 | id="4271b1 d0-d81e-4c 8f-8765-67 643c39f161 " | |
| 89 | method="GE T" | |
| 90 | > | |
| 91 | <con:setti ngs/> | |
| 92 | <con:param eters/> | |
| 93 | <con:repre sentation | |
| 94 | type="FAUL T" | |
| 95 | > | |
| 96 | <con:media Type | |
| 97 | xsi:nil="t rue" | |
| 98 | /> | |
| 99 | <con:statu s> | |
| 100 | 405 | |
| 101 | </con:stat us> | |
| 102 | <con:param s/> | |
| 103 | <con:eleme nt> | |
| 104 | data | |
| 105 | </con:elem ent> | |
| 106 | </con:repr esentation > | |
| 107 | <con:repre sentation | |
| 108 | type="FAUL T" | |
| 109 | > | |
| 110 | <con:media Type | |
| 111 | xsi:nil="t rue" | |
| 112 | /> | |
| 113 | <con:statu s> | |
| 114 | 405 | |
| 115 | </con:stat us> | |
| 116 | <con:param s/> | |
| 117 | <con:eleme nt> | |
| 118 | data | |
| 119 | </con:elem ent> | |
| 120 | </con:repr esentation > | |
| 121 | <con:repre sentation | |
| 122 | type="FAUL T" | |
| 123 | > | |
| 124 | <con:media Type> | |
| 125 | applicatio n/json | |
| 126 | </con:medi aType> | |
| 127 | <con:statu s> | |
| 128 | 400 404 50 0 | |
| 129 | </con:stat us> | |
| 130 | <con:param s/> | |
| 131 | <con:eleme nt | |
| 132 | xmlns:trac ="http://l ocalhost/r xr/rxrefil l/prescrip tion/track ing" | |
| 133 | > | |
| 134 | trac:Fault | |
| 135 | </con:elem ent> | |
| 136 | </con:repr esentation > | |
| 137 | <con:repre sentation | |
| 138 | type="FAUL T" | |
| 139 | > | |
| 140 | <con:media Type> | |
| 141 | text/html; charset=ut f-8 | |
| 142 | </con:medi aType> | |
| 143 | <con:statu s> | |
| 144 | 404 500 | |
| 145 | </con:stat us> | |
| 146 | <con:param s/> | |
| 147 | <con:eleme nt> | |
| 148 | html | |
| 149 | </con:elem ent> | |
| 150 | </con:repr esentation > | |
| 151 | <con:repre sentation | |
| 152 | type="RESP ONSE" | |
| 153 | > | |
| 154 | <con:media Type | |
| 155 | xsi:nil="t rue" | |
| 156 | /> | |
| 157 | <con:statu s> | |
| 158 | 0 | |
| 159 | </con:stat us> | |
| 160 | <con:param s/> | |
| 161 | <con:eleme nt> | |
| 162 | data | |
| 163 | </con:elem ent> | |
| 164 | </con:repr esentation > | |
| 165 | <con:repre sentation | |
| 166 | type="RESP ONSE" | |
| 167 | > | |
| 168 | <con:media Type | |
| 169 | xsi:nil="t rue" | |
| 170 | /> | |
| 171 | <con:statu s> | |
| 172 | 0 | |
| 173 | </con:stat us> | |
| 174 | <con:param s/> | |
| 175 | <con:eleme nt> | |
| 176 | data | |
| 177 | </con:elem ent> | |
| 178 | </con:repr esentation > | |
| 179 | <con:repre sentation | |
| 180 | type="RESP ONSE" | |
| 181 | > | |
| 182 | <con:media Type> | |
| 183 | applicatio n/json | |
| 184 | </con:medi aType> | |
| 185 | <con:statu s> | |
| 186 | 200 | |
| 187 | </con:stat us> | |
| 188 | <con:param s/> | |
| 189 | <con:eleme nt | |
| 190 | xmlns:trac ="http://l ocalhost/r xr/rxrefil l/prescrip tion/track ing" | |
| 191 | > | |
| 192 | trac:Respo nse | |
| 193 | </con:elem ent> | |
| 194 | </con:repr esentation > | |
| 195 | <con:repre sentation | |
| 196 | type="RESP ONSE" | |
| 197 | > | |
| 198 | <con:media Type | |
| 199 | xsi:nil="t rue" | |
| 200 | /> | |
| 201 | <con:statu s> | |
| 202 | 0 | |
| 203 | </con:stat us> | |
| 204 | <con:param s/> | |
| 205 | <con:eleme nt> | |
| 206 | data | |
| 207 | </con:elem ent> | |
| 208 | </con:repr esentation > | |
| 209 | <con:reque st | |
| 210 | name="Requ est 1" | |
| 211 | id="77e402 e8-13c4-44 b6-8e3a-83 259c7be316 " | |
| 212 | mediaType= "applicati on/json" | |
| 213 | > | |
| 214 | <con:setti ngs> | |
| 215 | <con:setti ng | |
| 216 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 217 | > | |
| 218 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 219 | <con: entry key= "Authoriza tion" valu e="Bearer e1a93b86-a 78f-4ad3-8 7ee-1b51f6 014f84"/> | |
| 220 | <con: entry key= "Token" va lue="rP2Gp aRizZs=LHA 9IxWWHfnXz EjCMG875/f Qpv/7SqiGF W9doYP1w5g ="/> | |
| 221 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 222 | </xml-f ragment> | |
| 223 | </con:sett ing> | |
| 224 | </con:sett ings> | |
| 225 | <con:endpo int> | |
| 226 | https://DN S.DNS | |
| 227 | </con:endp oint> | |
| 228 | <con:reque st/> | |
| 229 | <con:origi nalUri> | |
| 230 | http://loc alhost/rxr /rxrefill/ prescripti on/trackin g | |
| 231 | </con:orig inalUri> | |
| 232 | <con:crede ntials> | |
| 233 | <con:authT ype> | |
| 234 | No Authori zation | |
| 235 | </con:auth Type> | |
| 236 | </con:cred entials> | |
| 237 | <con:jmsCo nfig | |
| 238 | JMSDeliver yMode="PER SISTENT" | |
| 239 | /> | |
| 240 | <con:jmsPr opertyConf ig/> | |
| 241 | <con:param eters/> | |
| 242 | <con:param eterOrder/ > | |
| 243 | </con:requ est> | |
| 244 | </con:meth od> | |
| 245 | </con:reso urce> | |
| 246 | <con:resou rce | |
| 247 | name="[RXR -559]Presc ription Re fill" | |
| 248 | path="/RxR efillServi ces/v2/pat ient/EDIPI /{patienti d}/prescri ption/{rxi d}" | |
| 249 | id="f4625d 10-45fe-41 e9-b20d-40 f1553a42af " | |
| 250 | > | |
| 251 | <con:setti ngs/> | |
| 252 | <con:param eters> | |
| 253 | <con:param eter | |
| 254 | required=" true" | |
| 255 | > | |
| 256 | <con:name> | |
| 257 | patientid | |
| 258 | </con:name > | |
| 259 | <con:value > | |
| 260 | 864673 | |
| 261 | </con:valu e> | |
| 262 | <con:style > | |
| 263 | TEMPLATE | |
| 264 | </con:styl e> | |
| 265 | <con:defau lt> | |
| 266 | 864673 | |
| 267 | </con:defa ult> | |
| 268 | </con:para meter> | |
| 269 | <con:param eter | |
| 270 | required=" true" | |
| 271 | > | |
| 272 | <con:name> | |
| 273 | rxid | |
| 274 | </con:name > | |
| 275 | <con:value > | |
| 276 | 123456 | |
| 277 | </con:valu e> | |
| 278 | <con:style > | |
| 279 | TEMPLATE | |
| 280 | </con:styl e> | |
| 281 | <con:defau lt> | |
| 282 | 123456 | |
| 283 | </con:defa ult> | |
| 284 | </con:para meter> | |
| 285 | <con:param eter> | |
| 286 | <con:name> | |
| 287 | appSource | |
| 288 | </con:name > | |
| 289 | <con:value /> | |
| 290 | <con:style > | |
| 291 | QUERY | |
| 292 | </con:styl e> | |
| 293 | <con:defau lt/> | |
| 294 | <con:descr iption | |
| 295 | xsi:nil="t rue" | |
| 296 | /> | |
| 297 | </con:para meter> | |
| 298 | </con:para meters> | |
| 299 | <con:metho d | |
| 300 | name="Rx R efill Requ est" | |
| 301 | id="b993ad d0-a25a-4c 8c-b5ae-ac 63fa111032 " | |
| 302 | method="PO ST" | |
| 303 | > | |
| 304 | <con:setti ngs/> | |
| 305 | <con:param eters/> | |
| 306 | <con:repre sentation | |
| 307 | type="REQU EST" | |
| 308 | > | |
| 309 | <con:media Type> | |
| 310 | applicatio n/json | |
| 311 | </con:medi aType> | |
| 312 | <con:param s/> | |
| 313 | </con:repr esentation > | |
| 314 | <con:repre sentation | |
| 315 | type="FAUL T" | |
| 316 | > | |
| 317 | <con:media Type> | |
| 318 | applicatio n/json | |
| 319 | </con:medi aType> | |
| 320 | <con:statu s> | |
| 321 | 400 404 50 0 | |
| 322 | </con:stat us> | |
| 323 | <con:param s/> | |
| 324 | <con:eleme nt | |
| 325 | xmlns:ns=" http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655" | |
| 326 | > | |
| 327 | ns:Fault | |
| 328 | </con:elem ent> | |
| 329 | </con:repr esentation > | |
| 330 | <con:repre sentation | |
| 331 | type="RESP ONSE" | |
| 332 | > | |
| 333 | <con:media Type | |
| 334 | xsi:nil="t rue" | |
| 335 | /> | |
| 336 | <con:statu s> | |
| 337 | 0 | |
| 338 | </con:stat us> | |
| 339 | <con:param s/> | |
| 340 | <con:eleme nt> | |
| 341 | data | |
| 342 | </con:elem ent> | |
| 343 | </con:repr esentation > | |
| 344 | <con:repre sentation | |
| 345 | type="FAUL T" | |
| 346 | > | |
| 347 | <con:media Type> | |
| 348 | applicatio n/json;cha rset=ISO-8 859-1 | |
| 349 | </con:medi aType> | |
| 350 | <con:statu s> | |
| 351 | 404 | |
| 352 | </con:stat us> | |
| 353 | <con:param s/> | |
| 354 | <con:eleme nt | |
| 355 | xmlns:ns=" http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655" | |
| 356 | > | |
| 357 | ns:Fault | |
| 358 | </con:elem ent> | |
| 359 | </con:repr esentation > | |
| 360 | <con:repre sentation | |
| 361 | type="RESP ONSE" | |
| 362 | > | |
| 363 | <con:media Type | |
| 364 | xsi:nil="t rue" | |
| 365 | /> | |
| 366 | <con:statu s> | |
| 367 | 200 | |
| 368 | </con:stat us> | |
| 369 | <con:param s/> | |
| 370 | <con:eleme nt> | |
| 371 | data | |
| 372 | </con:elem ent> | |
| 373 | </con:repr esentation > | |
| 374 | <con:repre sentation | |
| 375 | type="RESP ONSE" | |
| 376 | > | |
| 377 | <con:media Type | |
| 378 | xsi:nil="t rue" | |
| 379 | /> | |
| 380 | <con:statu s> | |
| 381 | 0 | |
| 382 | </con:stat us> | |
| 383 | <con:param s/> | |
| 384 | <con:eleme nt> | |
| 385 | data | |
| 386 | </con:elem ent> | |
| 387 | </con:repr esentation > | |
| 388 | <con:reque st | |
| 389 | name="Requ est 1" | |
| 390 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 391 | mediaType= "applicati on/json" | |
| 392 | postQueryS tring="fal se" | |
| 393 | > | |
| 394 | <con:setti ngs> | |
| 395 | <con:setti ng | |
| 396 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 397 | > | |
| 398 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 399 | <con: entry key= "Token" va lue="9G5an cL8wdM=9KR 8Nr7n+WhC2 clrKuaDs3D 9wTH25v8xs MOutrtzaoc ="/> | |
| 400 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 401 | </xml-f ragment> | |
| 402 | </con:sett ing> | |
| 403 | </con:sett ings> | |
| 404 | <con:endpo int> | |
| 405 | http://loc alhost:808 0 | |
| 406 | </con:endp oint> | |
| 407 | <con:reque st/> | |
| 408 | <con:origi nalUri> | |
| 409 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 410 | </con:orig inalUri> | |
| 411 | <con:crede ntials> | |
| 412 | <con:authT ype> | |
| 413 | No Authori zation | |
| 414 | </con:auth Type> | |
| 415 | </con:cred entials> | |
| 416 | <con:jmsCo nfig | |
| 417 | JMSDeliver yMode="PER SISTENT" | |
| 418 | /> | |
| 419 | <con:jmsPr opertyConf ig/> | |
| 420 | <con:param eters> | |
| 421 | ||
| 422 | <con:entry | |
| 423 | key="patie ntid" | |
| 424 | value="827 432" | |
| 425 | /> | |
| 426 | ||
| 427 | <con:entry | |
| 428 | key="rxid" | |
| 429 | value="929 434" | |
| 430 | /> | |
| 431 | ||
| 432 | <con:entry | |
| 433 | key="appSo urce" | |
| 434 | value="rxr " | |
| 435 | /> | |
| 436 | </con:para meters> | |
| 437 | <con:param eterOrder> | |
| 438 | <con:entry > | |
| 439 | patientid | |
| 440 | </con:entr y> | |
| 441 | <con:entry > | |
| 442 | rxid | |
| 443 | </con:entr y> | |
| 444 | <con:entry > | |
| 445 | appSource | |
| 446 | </con:entr y> | |
| 447 | </con:para meterOrder > | |
| 448 | </con:requ est> | |
| 449 | </con:meth od> | |
| 450 | </con:reso urce> | |
| 451 | <con:resou rce | |
| 452 | name="[RXR -557]Activ e Prescrip tions" | |
| 453 | path="/RxR efillServi ces/v2/pat ient/presc ription/ac tive" | |
| 454 | id="4104a0 d3-97d8-42 a1-81df-89 66f15c05ae " | |
| 455 | > | |
| 456 | <con:setti ngs/> | |
| 457 | <con:param eters/> | |
| 458 | <con:metho d | |
| 459 | name="Acti ve Rx" | |
| 460 | id="04c392 d6-d9d1-4b 0a-8ba2-d6 e51ee2c835 " | |
| 461 | method="GE T" | |
| 462 | > | |
| 463 | <con:setti ngs/> | |
| 464 | <con:param eters/> | |
| 465 | <con:repre sentation | |
| 466 | type="RESP ONSE" | |
| 467 | > | |
| 468 | <con:media Type> | |
| 469 | applicatio n/json | |
| 470 | </con:medi aType> | |
| 471 | <con:statu s> | |
| 472 | 200 | |
| 473 | </con:stat us> | |
| 474 | <con:param s/> | |
| 475 | <con:eleme nt | |
| 476 | xmlns:act= "http://lo calhost/Rx RefillServ ices/patie nt/prescri ption/acti ve" | |
| 477 | > | |
| 478 | act:Respon se | |
| 479 | </con:elem ent> | |
| 480 | </con:repr esentation > | |
| 481 | <con:repre sentation | |
| 482 | type="FAUL T" | |
| 483 | > | |
| 484 | <con:media Type> | |
| 485 | applicatio n/json | |
| 486 | </con:medi aType> | |
| 487 | <con:statu s> | |
| 488 | 404 400 50 0 | |
| 489 | </con:stat us> | |
| 490 | <con:param s/> | |
| 491 | <con:eleme nt | |
| 492 | xmlns:act= "http://lo calhost/Rx RefillServ ices/patie nt/prescri ption/acti ve" | |
| 493 | > | |
| 494 | act:Fault | |
| 495 | </con:elem ent> | |
| 496 | </con:repr esentation > | |
| 497 | <con:repre sentation | |
| 498 | type="RESP ONSE" | |
| 499 | > | |
| 500 | <con:media Type | |
| 501 | xsi:nil="t rue" | |
| 502 | /> | |
| 503 | <con:statu s> | |
| 504 | 0 | |
| 505 | </con:stat us> | |
| 506 | <con:param s/> | |
| 507 | <con:eleme nt> | |
| 508 | data | |
| 509 | </con:elem ent> | |
| 510 | </con:repr esentation > | |
| 511 | <con:repre sentation | |
| 512 | type="RESP ONSE" | |
| 513 | > | |
| 514 | <con:media Type | |
| 515 | xsi:nil="t rue" | |
| 516 | /> | |
| 517 | <con:statu s> | |
| 518 | 0 | |
| 519 | </con:stat us> | |
| 520 | <con:param s/> | |
| 521 | <con:eleme nt> | |
| 522 | data | |
| 523 | </con:elem ent> | |
| 524 | </con:repr esentation > | |
| 525 | <con:repre sentation | |
| 526 | type="RESP ONSE" | |
| 527 | > | |
| 528 | <con:media Type | |
| 529 | xsi:nil="t rue" | |
| 530 | /> | |
| 531 | <con:statu s> | |
| 532 | 0 | |
| 533 | </con:stat us> | |
| 534 | <con:param s/> | |
| 535 | <con:eleme nt> | |
| 536 | data | |
| 537 | </con:elem ent> | |
| 538 | </con:repr esentation > | |
| 539 | <con:repre sentation | |
| 540 | type="RESP ONSE" | |
| 541 | > | |
| 542 | <con:media Type | |
| 543 | xsi:nil="t rue" | |
| 544 | /> | |
| 545 | <con:statu s> | |
| 546 | 0 | |
| 547 | </con:stat us> | |
| 548 | <con:param s/> | |
| 549 | <con:eleme nt> | |
| 550 | data | |
| 551 | </con:elem ent> | |
| 552 | </con:repr esentation > | |
| 553 | <con:repre sentation | |
| 554 | type="RESP ONSE" | |
| 555 | > | |
| 556 | <con:media Type | |
| 557 | xsi:nil="t rue" | |
| 558 | /> | |
| 559 | <con:statu s> | |
| 560 | 0 | |
| 561 | </con:stat us> | |
| 562 | <con:param s/> | |
| 563 | <con:eleme nt> | |
| 564 | data | |
| 565 | </con:elem ent> | |
| 566 | </con:repr esentation > | |
| 567 | <con:repre sentation | |
| 568 | type="RESP ONSE" | |
| 569 | > | |
| 570 | <con:media Type | |
| 571 | xsi:nil="t rue" | |
| 572 | /> | |
| 573 | <con:statu s> | |
| 574 | 0 | |
| 575 | </con:stat us> | |
| 576 | <con:param s/> | |
| 577 | <con:eleme nt> | |
| 578 | data | |
| 579 | </con:elem ent> | |
| 580 | </con:repr esentation > | |
| 581 | <con:repre sentation | |
| 582 | type="RESP ONSE" | |
| 583 | > | |
| 584 | <con:media Type | |
| 585 | xsi:nil="t rue" | |
| 586 | /> | |
| 587 | <con:statu s> | |
| 588 | 0 | |
| 589 | </con:stat us> | |
| 590 | <con:param s/> | |
| 591 | <con:eleme nt> | |
| 592 | data | |
| 593 | </con:elem ent> | |
| 594 | </con:repr esentation > | |
| 595 | <con:repre sentation | |
| 596 | type="RESP ONSE" | |
| 597 | > | |
| 598 | <con:media Type | |
| 599 | xsi:nil="t rue" | |
| 600 | /> | |
| 601 | <con:statu s> | |
| 602 | 0 | |
| 603 | </con:stat us> | |
| 604 | <con:param s/> | |
| 605 | <con:eleme nt> | |
| 606 | data | |
| 607 | </con:elem ent> | |
| 608 | </con:repr esentation > | |
| 609 | <con:repre sentation | |
| 610 | type="RESP ONSE" | |
| 611 | > | |
| 612 | <con:media Type | |
| 613 | xsi:nil="t rue" | |
| 614 | /> | |
| 615 | <con:statu s> | |
| 616 | 0 | |
| 617 | </con:stat us> | |
| 618 | <con:param s/> | |
| 619 | <con:eleme nt> | |
| 620 | data | |
| 621 | </con:elem ent> | |
| 622 | </con:repr esentation > | |
| 623 | <con:repre sentation | |
| 624 | type="RESP ONSE" | |
| 625 | > | |
| 626 | <con:media Type | |
| 627 | xsi:nil="t rue" | |
| 628 | /> | |
| 629 | <con:statu s> | |
| 630 | 0 | |
| 631 | </con:stat us> | |
| 632 | <con:param s/> | |
| 633 | <con:eleme nt> | |
| 634 | data | |
| 635 | </con:elem ent> | |
| 636 | </con:repr esentation > | |
| 637 | <con:repre sentation | |
| 638 | type="FAUL T" | |
| 639 | > | |
| 640 | <con:media Type> | |
| 641 | text/html; charset=U TF-8 | |
| 642 | </con:medi aType> | |
| 643 | <con:statu s> | |
| 644 | 500 403 | |
| 645 | </con:stat us> | |
| 646 | <con:param s/> | |
| 647 | <con:eleme nt> | |
| 648 | html | |
| 649 | </con:elem ent> | |
| 650 | </con:repr esentation > | |
| 651 | <con:repre sentation | |
| 652 | type="FAUL T" | |
| 653 | > | |
| 654 | <con:media Type> | |
| 655 | text/html; charset=ut f-8 | |
| 656 | </con:medi aType> | |
| 657 | <con:statu s> | |
| 658 | 403 | |
| 659 | </con:stat us> | |
| 660 | <con:param s/> | |
| 661 | <con:eleme nt> | |
| 662 | html | |
| 663 | </con:elem ent> | |
| 664 | </con:repr esentation > | |
| 665 | <con:repre sentation | |
| 666 | type="RESP ONSE" | |
| 667 | > | |
| 668 | <con:media Type | |
| 669 | xsi:nil="t rue" | |
| 670 | /> | |
| 671 | <con:statu s> | |
| 672 | 0 | |
| 673 | </con:stat us> | |
| 674 | <con:param s/> | |
| 675 | <con:eleme nt> | |
| 676 | data | |
| 677 | </con:elem ent> | |
| 678 | </con:repr esentation > | |
| 679 | <con:repre sentation | |
| 680 | type="RESP ONSE" | |
| 681 | > | |
| 682 | <con:media Type | |
| 683 | xsi:nil="t rue" | |
| 684 | /> | |
| 685 | <con:statu s> | |
| 686 | 0 | |
| 687 | </con:stat us> | |
| 688 | <con:param s/> | |
| 689 | <con:eleme nt> | |
| 690 | data | |
| 691 | </con:elem ent> | |
| 692 | </con:repr esentation > | |
| 693 | <con:repre sentation | |
| 694 | type="RESP ONSE" | |
| 695 | > | |
| 696 | <con:media Type | |
| 697 | xsi:nil="t rue" | |
| 698 | /> | |
| 699 | <con:statu s> | |
| 700 | 0 | |
| 701 | </con:stat us> | |
| 702 | <con:param s/> | |
| 703 | <con:eleme nt> | |
| 704 | data | |
| 705 | </con:elem ent> | |
| 706 | </con:repr esentation > | |
| 707 | <con:reque st | |
| 708 | name="Requ est 1" | |
| 709 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 710 | mediaType= "applicati on/json" | |
| 711 | > | |
| 712 | <con:setti ngs> | |
| 713 | <con:setti ng | |
| 714 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 715 | > | |
| 716 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 717 | <con: entry key= "Authoriza tion" valu e="Bearer 833de81f-3 edf-435a-9 c4d-19c903 58181a"/> | |
| 718 | <con: entry key= "Token" va lue="CGkPD Ye2erk=Q60 qx884M3Ngr 0W38xXOEJk XRIQJE6t6D EtL04jaM0s ="/> | |
| 719 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 720 | </xml-f ragment> | |
| 721 | </con:sett ing> | |
| 722 | </con:sett ings> | |
| 723 | <con:endpo int> | |
| 724 | https://DN S.DNS | |
| 725 | </con:endp oint> | |
| 726 | <con:reque st/> | |
| 727 | <con:origi nalUri> | |
| 728 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 729 | </con:orig inalUri> | |
| 730 | <con:crede ntials> | |
| 731 | <con:authT ype> | |
| 732 | No Authori zation | |
| 733 | </con:auth Type> | |
| 734 | </con:cred entials> | |
| 735 | <con:jmsCo nfig | |
| 736 | JMSDeliver yMode="PER SISTENT" | |
| 737 | /> | |
| 738 | <con:jmsPr opertyConf ig/> | |
| 739 | <con:param eters/> | |
| 740 | </con:requ est> | |
| 741 | </con:meth od> | |
| 742 | </con:reso urce> | |
| 743 | <con:resou rce | |
| 744 | name="[RXR -558]Histo rical Pres criptions" | |
| 745 | path="/RxR efillServi ces/v2/pat ient/presc ription/hi storic" | |
| 746 | id="4104a0 d3-97d8-42 a1-81df-89 66f15c05ae " | |
| 747 | > | |
| 748 | <con:setti ngs/> | |
| 749 | <con:param eters/> | |
| 750 | <con:metho d | |
| 751 | name="Hist oric Rx" | |
| 752 | id="04c392 d6-d9d1-4b 0a-8ba2-d6 e51ee2c835 " | |
| 753 | method="GE T" | |
| 754 | > | |
| 755 | <con:setti ngs/> | |
| 756 | <con:param eters/> | |
| 757 | <con:repre sentation | |
| 758 | type="RESP ONSE" | |
| 759 | > | |
| 760 | <con:media Type> | |
| 761 | applicatio n/json | |
| 762 | </con:medi aType> | |
| 763 | <con:statu s> | |
| 764 | 200 | |
| 765 | </con:stat us> | |
| 766 | <con:param s/> | |
| 767 | <con:eleme nt | |
| 768 | xmlns:his= "http://lo calhost/Rx RefillServ ices/patie nt/prescri ption/hist oric" | |
| 769 | > | |
| 770 | his:Respon se | |
| 771 | </con:elem ent> | |
| 772 | </con:repr esentation > | |
| 773 | <con:repre sentation | |
| 774 | type="RESP ONSE" | |
| 775 | > | |
| 776 | <con:media Type | |
| 777 | xsi:nil="t rue" | |
| 778 | /> | |
| 779 | <con:statu s> | |
| 780 | 0 | |
| 781 | </con:stat us> | |
| 782 | <con:param s/> | |
| 783 | <con:eleme nt> | |
| 784 | data | |
| 785 | </con:elem ent> | |
| 786 | </con:repr esentation > | |
| 787 | <con:reque st | |
| 788 | name="Requ est 1" | |
| 789 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 790 | mediaType= "applicati on/json" | |
| 791 | > | |
| 792 | <con:setti ngs> | |
| 793 | <con:setti ng | |
| 794 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 795 | > | |
| 796 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 797 | <con: entry key= "Token" va lue="MpOaw WLjfeg=wst F9GDJmty8H uAUG53VmMj bOJ4eT9uzx AXwiHZscd4 ="/> | |
| 798 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 799 | </xml-f ragment> | |
| 800 | </con:sett ing> | |
| 801 | </con:sett ings> | |
| 802 | <con:endpo int> | |
| 803 | http://DNS .DNS | |
| 804 | </con:endp oint> | |
| 805 | <con:reque st/> | |
| 806 | <con:origi nalUri> | |
| 807 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/histo ric | |
| 808 | </con:orig inalUri> | |
| 809 | <con:crede ntials> | |
| 810 | <con:authT ype> | |
| 811 | No Authori zation | |
| 812 | </con:auth Type> | |
| 813 | </con:cred entials> | |
| 814 | <con:jmsCo nfig | |
| 815 | JMSDeliver yMode="PER SISTENT" | |
| 816 | /> | |
| 817 | <con:jmsPr opertyConf ig/> | |
| 818 | <con:param eters/> | |
| 819 | </con:requ est> | |
| 820 | </con:meth od> | |
| 821 | </con:reso urce> | |
| 822 | <con:resou rce | |
| 823 | name="[RXR -561]Presc ription Tr acking Det ails" | |
| 824 | path="/RxR efillServi ces/v2/pat ient/presc ription/tr acking/{rx id}" | |
| 825 | id="8c7045 47-ca4c-4a 73-80e9-30 180182d17a " | |
| 826 | > | |
| 827 | <con:setti ngs/> | |
| 828 | <con:param eters> | |
| 829 | <con:param eter | |
| 830 | required=" true" | |
| 831 | > | |
| 832 | <con:name> | |
| 833 | rxid | |
| 834 | </con:name > | |
| 835 | <con:value > | |
| 836 | 2719197 | |
| 837 | </con:valu e> | |
| 838 | <con:style > | |
| 839 | TEMPLATE | |
| 840 | </con:styl e> | |
| 841 | <con:defau lt> | |
| 842 | 2719197 | |
| 843 | </con:defa ult> | |
| 844 | </con:para meter> | |
| 845 | </con:para meters> | |
| 846 | <con:metho d | |
| 847 | name="Rx T racking De tails" | |
| 848 | id="4271b1 d0-d81e-4c 8f-8765-67 643c39f161 " | |
| 849 | method="GE T" | |
| 850 | > | |
| 851 | <con:setti ngs/> | |
| 852 | <con:param eters/> | |
| 853 | <con:repre sentation | |
| 854 | type="FAUL T" | |
| 855 | > | |
| 856 | <con:media Type | |
| 857 | xsi:nil="t rue" | |
| 858 | /> | |
| 859 | <con:statu s> | |
| 860 | 405 | |
| 861 | </con:stat us> | |
| 862 | <con:param s/> | |
| 863 | <con:eleme nt> | |
| 864 | data | |
| 865 | </con:elem ent> | |
| 866 | </con:repr esentation > | |
| 867 | <con:repre sentation | |
| 868 | type="FAUL T" | |
| 869 | > | |
| 870 | <con:media Type | |
| 871 | xsi:nil="t rue" | |
| 872 | /> | |
| 873 | <con:statu s> | |
| 874 | 405 | |
| 875 | </con:stat us> | |
| 876 | <con:param s/> | |
| 877 | <con:eleme nt> | |
| 878 | data | |
| 879 | </con:elem ent> | |
| 880 | </con:repr esentation > | |
| 881 | <con:repre sentation | |
| 882 | type="FAUL T" | |
| 883 | > | |
| 884 | <con:media Type> | |
| 885 | applicatio n/json | |
| 886 | </con:medi aType> | |
| 887 | <con:statu s> | |
| 888 | 400 404 50 0 401 | |
| 889 | </con:stat us> | |
| 890 | <con:param s/> | |
| 891 | <con:eleme nt | |
| 892 | xmlns:trac ="http://l ocalhost/r xr/rxrefil l/prescrip tion/track ing" | |
| 893 | > | |
| 894 | trac:Fault | |
| 895 | </con:elem ent> | |
| 896 | </con:repr esentation > | |
| 897 | <con:repre sentation | |
| 898 | type="FAUL T" | |
| 899 | > | |
| 900 | <con:media Type> | |
| 901 | text/html; charset=ut f-8 | |
| 902 | </con:medi aType> | |
| 903 | <con:statu s> | |
| 904 | 404 500 | |
| 905 | </con:stat us> | |
| 906 | <con:param s/> | |
| 907 | <con:eleme nt> | |
| 908 | html | |
| 909 | </con:elem ent> | |
| 910 | </con:repr esentation > | |
| 911 | <con:repre sentation | |
| 912 | type="RESP ONSE" | |
| 913 | > | |
| 914 | <con:media Type | |
| 915 | xsi:nil="t rue" | |
| 916 | /> | |
| 917 | <con:statu s> | |
| 918 | 0 | |
| 919 | </con:stat us> | |
| 920 | <con:param s/> | |
| 921 | <con:eleme nt> | |
| 922 | data | |
| 923 | </con:elem ent> | |
| 924 | </con:repr esentation > | |
| 925 | <con:repre sentation | |
| 926 | type="RESP ONSE" | |
| 927 | > | |
| 928 | <con:media Type | |
| 929 | xsi:nil="t rue" | |
| 930 | /> | |
| 931 | <con:statu s> | |
| 932 | 0 | |
| 933 | </con:stat us> | |
| 934 | <con:param s/> | |
| 935 | <con:eleme nt> | |
| 936 | data | |
| 937 | </con:elem ent> | |
| 938 | </con:repr esentation > | |
| 939 | <con:repre sentation | |
| 940 | type="RESP ONSE" | |
| 941 | > | |
| 942 | <con:media Type> | |
| 943 | applicatio n/json | |
| 944 | </con:medi aType> | |
| 945 | <con:statu s> | |
| 946 | 200 | |
| 947 | </con:stat us> | |
| 948 | <con:param s/> | |
| 949 | <con:eleme nt | |
| 950 | xmlns:trac ="http://l ocalhost/r xr/rxrefil l/prescrip tion/track ing" | |
| 951 | > | |
| 952 | trac:Respo nse | |
| 953 | </con:elem ent> | |
| 954 | </con:repr esentation > | |
| 955 | <con:repre sentation | |
| 956 | type="RESP ONSE" | |
| 957 | > | |
| 958 | <con:media Type | |
| 959 | xsi:nil="t rue" | |
| 960 | /> | |
| 961 | <con:statu s> | |
| 962 | 0 | |
| 963 | </con:stat us> | |
| 964 | <con:param s/> | |
| 965 | <con:eleme nt> | |
| 966 | data | |
| 967 | </con:elem ent> | |
| 968 | </con:repr esentation > | |
| 969 | <con:repre sentation | |
| 970 | type="RESP ONSE" | |
| 971 | > | |
| 972 | <con:media Type | |
| 973 | xsi:nil="t rue" | |
| 974 | /> | |
| 975 | <con:statu s> | |
| 976 | 0 | |
| 977 | </con:stat us> | |
| 978 | <con:param s/> | |
| 979 | <con:eleme nt> | |
| 980 | data | |
| 981 | </con:elem ent> | |
| 982 | </con:repr esentation > | |
| 983 | <con:repre sentation | |
| 984 | type="RESP ONSE" | |
| 985 | > | |
| 986 | <con:media Type | |
| 987 | xsi:nil="t rue" | |
| 988 | /> | |
| 989 | <con:statu s> | |
| 990 | 0 | |
| 991 | </con:stat us> | |
| 992 | <con:param s/> | |
| 993 | <con:eleme nt> | |
| 994 | data | |
| 995 | </con:elem ent> | |
| 996 | </con:repr esentation > | |
| 997 | <con:repre sentation | |
| 998 | type="RESP ONSE" | |
| 999 | > | |
| 1000 | <con:media Type | |
| 1001 | xsi:nil="t rue" | |
| 1002 | /> | |
| 1003 | <con:statu s> | |
| 1004 | 0 | |
| 1005 | </con:stat us> | |
| 1006 | <con:param s/> | |
| 1007 | <con:eleme nt> | |
| 1008 | data | |
| 1009 | </con:elem ent> | |
| 1010 | </con:repr esentation > | |
| 1011 | <con:reque st | |
| 1012 | name="Requ est 1" | |
| 1013 | id="77e402 e8-13c4-44 b6-8e3a-83 259c7be316 " | |
| 1014 | mediaType= "applicati on/json" | |
| 1015 | > | |
| 1016 | <con:setti ngs> | |
| 1017 | <con:setti ng | |
| 1018 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 1019 | > | |
| 1020 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 1021 | <con: entry key= "Authoriza tion" valu e="Bearer 8193496b-6 5f0-41e6-a 143-e972df af4b60"/> | |
| 1022 | <con: entry key= "Token" va lue="G+K9N hSymLw=/Ib pS0vRGwj+4 lealChtzL3 2pPY/FGE2Z caa68o5duA ="/> | |
| 1023 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 1024 | </xml-f ragment> | |
| 1025 | </con:sett ing> | |
| 1026 | </con:sett ings> | |
| 1027 | <con:endpo int> | |
| 1028 | https://DN S.DNS | |
| 1029 | </con:endp oint> | |
| 1030 | <con:reque st/> | |
| 1031 | <con:origi nalUri> | |
| 1032 | http://loc alhost/rxr /rxrefill/ prescripti on/trackin g | |
| 1033 | </con:orig inalUri> | |
| 1034 | <con:crede ntials> | |
| 1035 | <con:authT ype> | |
| 1036 | No Authori zation | |
| 1037 | </con:auth Type> | |
| 1038 | </con:cred entials> | |
| 1039 | <con:jmsCo nfig | |
| 1040 | JMSDeliver yMode="PER SISTENT" | |
| 1041 | /> | |
| 1042 | <con:jmsPr opertyConf ig/> | |
| 1043 | <con:param eters> | |
| 1044 | <entry | |
| 1045 | key="rxid" | |
| 1046 | value="825 128" | |
| 1047 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 1048 | /> | |
| 1049 | </con:para meters> | |
| 1050 | <con:param eterOrder> | |
| 1051 | <con:entry > | |
| 1052 | rxid | |
| 1053 | </con:entr y> | |
| 1054 | </con:para meterOrder > | |
| 1055 | </con:requ est> | |
| 1056 | </con:meth od> | |
| 1057 | </con:reso urce> | |
| 1058 | <con:resou rce | |
| 1059 | name="Ente rprise Ses sion" | |
| 1060 | path="/RxR efillServi ces/v2/pat ient/EDIPI /{patienti d}/session " | |
| 1061 | id="f4625d 10-45fe-41 e9-b20d-40 f1553a42af " | |
| 1062 | > | |
| 1063 | <con:setti ngs/> | |
| 1064 | <con:param eters> | |
| 1065 | <con:param eter | |
| 1066 | required=" true" | |
| 1067 | > | |
| 1068 | <con:name> | |
| 1069 | patientid | |
| 1070 | </con:name > | |
| 1071 | <con:style > | |
| 1072 | TEMPLATE | |
| 1073 | </con:styl e> | |
| 1074 | </con:para meter> | |
| 1075 | </con:para meters> | |
| 1076 | <con:metho d | |
| 1077 | name="Sess ion" | |
| 1078 | id="b993ad d0-a25a-4c 8c-b5ae-ac 63fa111032 " | |
| 1079 | method="GE T" | |
| 1080 | > | |
| 1081 | <con:setti ngs/> | |
| 1082 | <con:param eters/> | |
| 1083 | <con:repre sentation | |
| 1084 | type="REQU EST" | |
| 1085 | > | |
| 1086 | <con:media Type> | |
| 1087 | applicatio n/json | |
| 1088 | </con:medi aType> | |
| 1089 | <con:param s/> | |
| 1090 | </con:repr esentation > | |
| 1091 | <con:repre sentation | |
| 1092 | type="FAUL T" | |
| 1093 | > | |
| 1094 | <con:media Type> | |
| 1095 | applicatio n/json | |
| 1096 | </con:medi aType> | |
| 1097 | <con:statu s> | |
| 1098 | 400 404 50 0 401 503 | |
| 1099 | </con:stat us> | |
| 1100 | <con:param s/> | |
| 1101 | <con:eleme nt | |
| 1102 | xmlns:ns=" http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655" | |
| 1103 | > | |
| 1104 | ns:Fault | |
| 1105 | </con:elem ent> | |
| 1106 | </con:repr esentation > | |
| 1107 | <con:repre sentation | |
| 1108 | type="RESP ONSE" | |
| 1109 | > | |
| 1110 | <con:media Type | |
| 1111 | xsi:nil="t rue" | |
| 1112 | /> | |
| 1113 | <con:statu s> | |
| 1114 | 0 | |
| 1115 | </con:stat us> | |
| 1116 | <con:param s/> | |
| 1117 | <con:eleme nt> | |
| 1118 | data | |
| 1119 | </con:elem ent> | |
| 1120 | </con:repr esentation > | |
| 1121 | <con:repre sentation | |
| 1122 | type="FAUL T" | |
| 1123 | > | |
| 1124 | <con:media Type> | |
| 1125 | text/html; charset=ut f-8 | |
| 1126 | </con:medi aType> | |
| 1127 | <con:statu s> | |
| 1128 | 500 404 40 3 | |
| 1129 | </con:stat us> | |
| 1130 | <con:param s/> | |
| 1131 | <con:eleme nt> | |
| 1132 | html | |
| 1133 | </con:elem ent> | |
| 1134 | </con:repr esentation > | |
| 1135 | <con:repre sentation | |
| 1136 | type="RESP ONSE" | |
| 1137 | > | |
| 1138 | <con:media Type> | |
| 1139 | applicatio n/json | |
| 1140 | </con:medi aType> | |
| 1141 | <con:statu s> | |
| 1142 | 200 | |
| 1143 | </con:stat us> | |
| 1144 | <con:param s/> | |
| 1145 | <con:eleme nt | |
| 1146 | xmlns:ns=" http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655" | |
| 1147 | > | |
| 1148 | ns:Respons e | |
| 1149 | </con:elem ent> | |
| 1150 | </con:repr esentation > | |
| 1151 | <con:repre sentation | |
| 1152 | type="RESP ONSE" | |
| 1153 | > | |
| 1154 | <con:media Type | |
| 1155 | xsi:nil="t rue" | |
| 1156 | /> | |
| 1157 | <con:statu s> | |
| 1158 | 0 | |
| 1159 | </con:stat us> | |
| 1160 | <con:param s/> | |
| 1161 | <con:eleme nt> | |
| 1162 | data | |
| 1163 | </con:elem ent> | |
| 1164 | </con:repr esentation > | |
| 1165 | <con:repre sentation | |
| 1166 | type="RESP ONSE" | |
| 1167 | > | |
| 1168 | <con:media Type | |
| 1169 | xsi:nil="t rue" | |
| 1170 | /> | |
| 1171 | <con:statu s> | |
| 1172 | 0 | |
| 1173 | </con:stat us> | |
| 1174 | <con:param s/> | |
| 1175 | <con:eleme nt> | |
| 1176 | data | |
| 1177 | </con:elem ent> | |
| 1178 | </con:repr esentation > | |
| 1179 | <con:repre sentation | |
| 1180 | type="RESP ONSE" | |
| 1181 | > | |
| 1182 | <con:media Type | |
| 1183 | xsi:nil="t rue" | |
| 1184 | /> | |
| 1185 | <con:statu s> | |
| 1186 | 0 | |
| 1187 | </con:stat us> | |
| 1188 | <con:param s/> | |
| 1189 | <con:eleme nt> | |
| 1190 | data | |
| 1191 | </con:elem ent> | |
| 1192 | </con:repr esentation > | |
| 1193 | <con:repre sentation | |
| 1194 | type="FAUL T" | |
| 1195 | > | |
| 1196 | <con:media Type> | |
| 1197 | text/html; charset=U TF-8 | |
| 1198 | </con:medi aType> | |
| 1199 | <con:statu s> | |
| 1200 | 500 403 | |
| 1201 | </con:stat us> | |
| 1202 | <con:param s/> | |
| 1203 | <con:eleme nt> | |
| 1204 | html | |
| 1205 | </con:elem ent> | |
| 1206 | </con:repr esentation > | |
| 1207 | <con:repre sentation | |
| 1208 | type="FAUL T" | |
| 1209 | > | |
| 1210 | <con:media Type | |
| 1211 | xsi:nil="t rue" | |
| 1212 | /> | |
| 1213 | <con:statu s> | |
| 1214 | 406 | |
| 1215 | </con:stat us> | |
| 1216 | <con:param s/> | |
| 1217 | <con:eleme nt> | |
| 1218 | data | |
| 1219 | </con:elem ent> | |
| 1220 | </con:repr esentation > | |
| 1221 | <con:repre sentation | |
| 1222 | type="RESP ONSE" | |
| 1223 | > | |
| 1224 | <con:media Type | |
| 1225 | xsi:nil="t rue" | |
| 1226 | /> | |
| 1227 | <con:statu s> | |
| 1228 | 0 | |
| 1229 | </con:stat us> | |
| 1230 | <con:param s/> | |
| 1231 | <con:eleme nt> | |
| 1232 | data | |
| 1233 | </con:elem ent> | |
| 1234 | </con:repr esentation > | |
| 1235 | <con:repre sentation | |
| 1236 | type="RESP ONSE" | |
| 1237 | > | |
| 1238 | <con:media Type> | |
| 1239 | applicatio n/xml | |
| 1240 | </con:medi aType> | |
| 1241 | <con:statu s> | |
| 1242 | 200 | |
| 1243 | </con:stat us> | |
| 1244 | <con:param s/> | |
| 1245 | <con:eleme nt | |
| 1246 | xmlns:mob= "https://m obile. DNS " | |
| 1247 | > | |
| 1248 | mob:enterp riseSessio nMgmt | |
| 1249 | </con:elem ent> | |
| 1250 | </con:repr esentation > | |
| 1251 | <con:repre sentation | |
| 1252 | type="RESP ONSE" | |
| 1253 | > | |
| 1254 | <con:media Type | |
| 1255 | xsi:nil="t rue" | |
| 1256 | /> | |
| 1257 | <con:statu s> | |
| 1258 | 0 | |
| 1259 | </con:stat us> | |
| 1260 | <con:param s/> | |
| 1261 | <con:eleme nt> | |
| 1262 | data | |
| 1263 | </con:elem ent> | |
| 1264 | </con:repr esentation > | |
| 1265 | <con:repre sentation | |
| 1266 | type="RESP ONSE" | |
| 1267 | > | |
| 1268 | <con:media Type | |
| 1269 | xsi:nil="t rue" | |
| 1270 | /> | |
| 1271 | <con:statu s> | |
| 1272 | 0 | |
| 1273 | </con:stat us> | |
| 1274 | <con:param s/> | |
| 1275 | <con:eleme nt> | |
| 1276 | data | |
| 1277 | </con:elem ent> | |
| 1278 | </con:repr esentation > | |
| 1279 | <con:repre sentation | |
| 1280 | type="RESP ONSE" | |
| 1281 | > | |
| 1282 | <con:media Type | |
| 1283 | xsi:nil="t rue" | |
| 1284 | /> | |
| 1285 | <con:statu s> | |
| 1286 | 0 | |
| 1287 | </con:stat us> | |
| 1288 | <con:param s/> | |
| 1289 | <con:eleme nt> | |
| 1290 | data | |
| 1291 | </con:elem ent> | |
| 1292 | </con:repr esentation > | |
| 1293 | <con:repre sentation | |
| 1294 | type="RESP ONSE" | |
| 1295 | > | |
| 1296 | <con:media Type | |
| 1297 | xsi:nil="t rue" | |
| 1298 | /> | |
| 1299 | <con:statu s> | |
| 1300 | 0 | |
| 1301 | </con:stat us> | |
| 1302 | <con:param s/> | |
| 1303 | <con:eleme nt> | |
| 1304 | data | |
| 1305 | </con:elem ent> | |
| 1306 | </con:repr esentation > | |
| 1307 | <con:repre sentation | |
| 1308 | type="RESP ONSE" | |
| 1309 | > | |
| 1310 | <con:media Type | |
| 1311 | xsi:nil="t rue" | |
| 1312 | /> | |
| 1313 | <con:statu s> | |
| 1314 | 0 | |
| 1315 | </con:stat us> | |
| 1316 | <con:param s/> | |
| 1317 | <con:eleme nt> | |
| 1318 | data | |
| 1319 | </con:elem ent> | |
| 1320 | </con:repr esentation > | |
| 1321 | <con:repre sentation | |
| 1322 | type="RESP ONSE" | |
| 1323 | > | |
| 1324 | <con:media Type | |
| 1325 | xsi:nil="t rue" | |
| 1326 | /> | |
| 1327 | <con:statu s> | |
| 1328 | 0 | |
| 1329 | </con:stat us> | |
| 1330 | <con:param s/> | |
| 1331 | <con:eleme nt> | |
| 1332 | data | |
| 1333 | </con:elem ent> | |
| 1334 | </con:repr esentation > | |
| 1335 | <con:repre sentation | |
| 1336 | type="RESP ONSE" | |
| 1337 | > | |
| 1338 | <con:media Type | |
| 1339 | xsi:nil="t rue" | |
| 1340 | /> | |
| 1341 | <con:statu s> | |
| 1342 | 0 | |
| 1343 | </con:stat us> | |
| 1344 | <con:param s/> | |
| 1345 | <con:eleme nt> | |
| 1346 | data | |
| 1347 | </con:elem ent> | |
| 1348 | </con:repr esentation > | |
| 1349 | <con:repre sentation | |
| 1350 | type="RESP ONSE" | |
| 1351 | > | |
| 1352 | <con:media Type | |
| 1353 | xsi:nil="t rue" | |
| 1354 | /> | |
| 1355 | <con:statu s> | |
| 1356 | 0 | |
| 1357 | </con:stat us> | |
| 1358 | <con:param s/> | |
| 1359 | <con:eleme nt> | |
| 1360 | data | |
| 1361 | </con:elem ent> | |
| 1362 | </con:repr esentation > | |
| 1363 | <con:repre sentation | |
| 1364 | type="RESP ONSE" | |
| 1365 | > | |
| 1366 | <con:media Type | |
| 1367 | xsi:nil="t rue" | |
| 1368 | /> | |
| 1369 | <con:statu s> | |
| 1370 | 0 | |
| 1371 | </con:stat us> | |
| 1372 | <con:param s/> | |
| 1373 | <con:eleme nt> | |
| 1374 | data | |
| 1375 | </con:elem ent> | |
| 1376 | </con:repr esentation > | |
| 1377 | <con:repre sentation | |
| 1378 | type="RESP ONSE" | |
| 1379 | > | |
| 1380 | <con:media Type | |
| 1381 | xsi:nil="t rue" | |
| 1382 | /> | |
| 1383 | <con:statu s> | |
| 1384 | 0 | |
| 1385 | </con:stat us> | |
| 1386 | <con:param s/> | |
| 1387 | <con:eleme nt> | |
| 1388 | data | |
| 1389 | </con:elem ent> | |
| 1390 | </con:repr esentation > | |
| 1391 | <con:repre sentation | |
| 1392 | type="RESP ONSE" | |
| 1393 | > | |
| 1394 | <con:media Type | |
| 1395 | xsi:nil="t rue" | |
| 1396 | /> | |
| 1397 | <con:statu s> | |
| 1398 | 0 | |
| 1399 | </con:stat us> | |
| 1400 | <con:param s/> | |
| 1401 | <con:eleme nt> | |
| 1402 | data | |
| 1403 | </con:elem ent> | |
| 1404 | </con:repr esentation > | |
| 1405 | <con:repre sentation | |
| 1406 | type="RESP ONSE" | |
| 1407 | > | |
| 1408 | <con:media Type | |
| 1409 | xsi:nil="t rue" | |
| 1410 | /> | |
| 1411 | <con:statu s> | |
| 1412 | 0 | |
| 1413 | </con:stat us> | |
| 1414 | <con:param s/> | |
| 1415 | <con:eleme nt> | |
| 1416 | data | |
| 1417 | </con:elem ent> | |
| 1418 | </con:repr esentation > | |
| 1419 | <con:repre sentation | |
| 1420 | type="RESP ONSE" | |
| 1421 | > | |
| 1422 | <con:media Type | |
| 1423 | xsi:nil="t rue" | |
| 1424 | /> | |
| 1425 | <con:statu s> | |
| 1426 | 0 | |
| 1427 | </con:stat us> | |
| 1428 | <con:param s/> | |
| 1429 | <con:eleme nt> | |
| 1430 | data | |
| 1431 | </con:elem ent> | |
| 1432 | </con:repr esentation > | |
| 1433 | <con:repre sentation | |
| 1434 | type="RESP ONSE" | |
| 1435 | > | |
| 1436 | <con:media Type | |
| 1437 | xsi:nil="t rue" | |
| 1438 | /> | |
| 1439 | <con:statu s> | |
| 1440 | 0 | |
| 1441 | </con:stat us> | |
| 1442 | <con:param s/> | |
| 1443 | <con:eleme nt> | |
| 1444 | data | |
| 1445 | </con:elem ent> | |
| 1446 | </con:repr esentation > | |
| 1447 | <con:repre sentation | |
| 1448 | type="RESP ONSE" | |
| 1449 | > | |
| 1450 | <con:media Type | |
| 1451 | xsi:nil="t rue" | |
| 1452 | /> | |
| 1453 | <con:statu s> | |
| 1454 | 0 | |
| 1455 | </con:stat us> | |
| 1456 | <con:param s/> | |
| 1457 | <con:eleme nt> | |
| 1458 | data | |
| 1459 | </con:elem ent> | |
| 1460 | </con:repr esentation > | |
| 1461 | <con:repre sentation | |
| 1462 | type="RESP ONSE" | |
| 1463 | > | |
| 1464 | <con:media Type | |
| 1465 | xsi:nil="t rue" | |
| 1466 | /> | |
| 1467 | <con:statu s> | |
| 1468 | 0 | |
| 1469 | </con:stat us> | |
| 1470 | <con:param s/> | |
| 1471 | <con:eleme nt> | |
| 1472 | data | |
| 1473 | </con:elem ent> | |
| 1474 | </con:repr esentation > | |
| 1475 | <con:repre sentation | |
| 1476 | type="RESP ONSE" | |
| 1477 | > | |
| 1478 | <con:media Type | |
| 1479 | xsi:nil="t rue" | |
| 1480 | /> | |
| 1481 | <con:statu s> | |
| 1482 | 0 | |
| 1483 | </con:stat us> | |
| 1484 | <con:param s/> | |
| 1485 | <con:eleme nt> | |
| 1486 | data | |
| 1487 | </con:elem ent> | |
| 1488 | </con:repr esentation > | |
| 1489 | <con:repre sentation | |
| 1490 | type="RESP ONSE" | |
| 1491 | > | |
| 1492 | <con:media Type | |
| 1493 | xsi:nil="t rue" | |
| 1494 | /> | |
| 1495 | <con:statu s> | |
| 1496 | 0 | |
| 1497 | </con:stat us> | |
| 1498 | <con:param s/> | |
| 1499 | <con:eleme nt> | |
| 1500 | data | |
| 1501 | </con:elem ent> | |
| 1502 | </con:repr esentation > | |
| 1503 | <con:repre sentation | |
| 1504 | type="RESP ONSE" | |
| 1505 | > | |
| 1506 | <con:media Type | |
| 1507 | xsi:nil="t rue" | |
| 1508 | /> | |
| 1509 | <con:statu s> | |
| 1510 | 0 | |
| 1511 | </con:stat us> | |
| 1512 | <con:param s/> | |
| 1513 | <con:eleme nt> | |
| 1514 | data | |
| 1515 | </con:elem ent> | |
| 1516 | </con:repr esentation > | |
| 1517 | <con:repre sentation | |
| 1518 | type="FAUL T" | |
| 1519 | > | |
| 1520 | <con:media Type> | |
| 1521 | text/html; charset=i so-8859-1 | |
| 1522 | </con:medi aType> | |
| 1523 | <con:statu s> | |
| 1524 | 503 | |
| 1525 | </con:stat us> | |
| 1526 | <con:param s/> | |
| 1527 | <con:eleme nt> | |
| 1528 | html | |
| 1529 | </con:elem ent> | |
| 1530 | </con:repr esentation > | |
| 1531 | <con:repre sentation | |
| 1532 | type="RESP ONSE" | |
| 1533 | > | |
| 1534 | <con:media Type | |
| 1535 | xsi:nil="t rue" | |
| 1536 | /> | |
| 1537 | <con:statu s> | |
| 1538 | 0 | |
| 1539 | </con:stat us> | |
| 1540 | <con:param s/> | |
| 1541 | <con:eleme nt> | |
| 1542 | data | |
| 1543 | </con:elem ent> | |
| 1544 | </con:repr esentation > | |
| 1545 | <con:repre sentation | |
| 1546 | type="RESP ONSE" | |
| 1547 | > | |
| 1548 | <con:media Type | |
| 1549 | xsi:nil="t rue" | |
| 1550 | /> | |
| 1551 | <con:statu s> | |
| 1552 | 0 | |
| 1553 | </con:stat us> | |
| 1554 | <con:param s/> | |
| 1555 | <con:eleme nt> | |
| 1556 | data | |
| 1557 | </con:elem ent> | |
| 1558 | </con:repr esentation > | |
| 1559 | <con:repre sentation | |
| 1560 | type="RESP ONSE" | |
| 1561 | > | |
| 1562 | <con:media Type | |
| 1563 | xsi:nil="t rue" | |
| 1564 | /> | |
| 1565 | <con:statu s> | |
| 1566 | 0 | |
| 1567 | </con:stat us> | |
| 1568 | <con:param s/> | |
| 1569 | <con:eleme nt> | |
| 1570 | data | |
| 1571 | </con:elem ent> | |
| 1572 | </con:repr esentation > | |
| 1573 | <con:repre sentation | |
| 1574 | type="RESP ONSE" | |
| 1575 | > | |
| 1576 | <con:media Type | |
| 1577 | xsi:nil="t rue" | |
| 1578 | /> | |
| 1579 | <con:statu s> | |
| 1580 | 0 | |
| 1581 | </con:stat us> | |
| 1582 | <con:param s/> | |
| 1583 | <con:eleme nt> | |
| 1584 | data | |
| 1585 | </con:elem ent> | |
| 1586 | </con:repr esentation > | |
| 1587 | <con:reque st | |
| 1588 | name="Requ est 1" | |
| 1589 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 1590 | mediaType= "applicati on/json" | |
| 1591 | postQueryS tring="fal se" | |
| 1592 | > | |
| 1593 | <con:setti ngs> | |
| 1594 | <con:setti ng | |
| 1595 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 1596 | > | |
| 1597 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 1598 | <con: entry key= "Authoriza tion" valu e="Bearer b34432e9-6 6a0-4615-a e92-155793 2339c8"/> | |
| 1599 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 1600 | </xml-f ragment> | |
| 1601 | </con:sett ing> | |
| 1602 | </con:sett ings> | |
| 1603 | <con:endpo int> | |
| 1604 | https://DN S.DNS | |
| 1605 | </con:endp oint> | |
| 1606 | <con:reque st/> | |
| 1607 | <con:origi nalUri> | |
| 1608 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 1609 | </con:orig inalUri> | |
| 1610 | <con:crede ntials> | |
| 1611 | <con:authT ype> | |
| 1612 | No Authori zation | |
| 1613 | </con:auth Type> | |
| 1614 | </con:cred entials> | |
| 1615 | <con:jmsCo nfig | |
| 1616 | JMSDeliver yMode="PER SISTENT" | |
| 1617 | /> | |
| 1618 | <con:jmsPr opertyConf ig/> | |
| 1619 | <con:param eters> | |
| 1620 | <entry | |
| 1621 | key="patie ntid" | |
| 1622 | value="101 5228322" | |
| 1623 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 1624 | /> | |
| 1625 | </con:para meters> | |
| 1626 | <con:param eterOrder> | |
| 1627 | <con:entry > | |
| 1628 | patientid | |
| 1629 | </con:entr y> | |
| 1630 | </con:para meterOrder > | |
| 1631 | </con:requ est> | |
| 1632 | </con:meth od> | |
| 1633 | </con:reso urce> | |
| 1634 | <con:resou rce | |
| 1635 | name="Reso urce Direc tory" | |
| 1636 | path="/Dem entiaCareS ervices/v1 /public/re source-dir ectory" | |
| 1637 | id="f4625d 10-45fe-41 e9-b20d-40 f1553a42af " | |
| 1638 | > | |
| 1639 | <con:setti ngs/> | |
| 1640 | <con:param eters/> | |
| 1641 | <con:metho d | |
| 1642 | name="Serv iceDirecto ry" | |
| 1643 | id="b993ad d0-a25a-4c 8c-b5ae-ac 63fa111032 " | |
| 1644 | method="GE T" | |
| 1645 | > | |
| 1646 | <con:setti ngs/> | |
| 1647 | <con:param eters/> | |
| 1648 | <con:repre sentation | |
| 1649 | type="REQU EST" | |
| 1650 | > | |
| 1651 | <con:media Type> | |
| 1652 | applicatio n/json | |
| 1653 | </con:medi aType> | |
| 1654 | <con:param s/> | |
| 1655 | </con:repr esentation > | |
| 1656 | <con:repre sentation | |
| 1657 | type="FAUL T" | |
| 1658 | > | |
| 1659 | <con:media Type> | |
| 1660 | applicatio n/json | |
| 1661 | </con:medi aType> | |
| 1662 | <con:statu s> | |
| 1663 | 400 404 | |
| 1664 | </con:stat us> | |
| 1665 | <con:param s/> | |
| 1666 | <con:eleme nt | |
| 1667 | xmlns:ns=" http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655" | |
| 1668 | > | |
| 1669 | ns:Fault | |
| 1670 | </con:elem ent> | |
| 1671 | </con:repr esentation > | |
| 1672 | <con:repre sentation | |
| 1673 | type="RESP ONSE" | |
| 1674 | > | |
| 1675 | <con:media Type | |
| 1676 | xsi:nil="t rue" | |
| 1677 | /> | |
| 1678 | <con:statu s> | |
| 1679 | 0 | |
| 1680 | </con:stat us> | |
| 1681 | <con:param s/> | |
| 1682 | <con:eleme nt> | |
| 1683 | data | |
| 1684 | </con:elem ent> | |
| 1685 | </con:repr esentation > | |
| 1686 | <con:repre sentation | |
| 1687 | type="FAUL T" | |
| 1688 | > | |
| 1689 | <con:media Type> | |
| 1690 | text/html; charset=ut f-8 | |
| 1691 | </con:medi aType> | |
| 1692 | <con:statu s> | |
| 1693 | 500 404 | |
| 1694 | </con:stat us> | |
| 1695 | <con:param s/> | |
| 1696 | <con:eleme nt> | |
| 1697 | html | |
| 1698 | </con:elem ent> | |
| 1699 | </con:repr esentation > | |
| 1700 | <con:repre sentation | |
| 1701 | type="RESP ONSE" | |
| 1702 | > | |
| 1703 | <con:media Type> | |
| 1704 | applicatio n/json | |
| 1705 | </con:medi aType> | |
| 1706 | <con:statu s> | |
| 1707 | 200 | |
| 1708 | </con:stat us> | |
| 1709 | <con:param s/> | |
| 1710 | <con:eleme nt | |
| 1711 | xmlns:ns=" http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655" | |
| 1712 | > | |
| 1713 | ns:Respons e | |
| 1714 | </con:elem ent> | |
| 1715 | </con:repr esentation > | |
| 1716 | <con:repre sentation | |
| 1717 | type="RESP ONSE" | |
| 1718 | > | |
| 1719 | <con:media Type | |
| 1720 | xsi:nil="t rue" | |
| 1721 | /> | |
| 1722 | <con:statu s> | |
| 1723 | 0 | |
| 1724 | </con:stat us> | |
| 1725 | <con:param s/> | |
| 1726 | <con:eleme nt> | |
| 1727 | data | |
| 1728 | </con:elem ent> | |
| 1729 | </con:repr esentation > | |
| 1730 | <con:repre sentation | |
| 1731 | type="RESP ONSE" | |
| 1732 | > | |
| 1733 | <con:media Type> | |
| 1734 | applicatio n/xml | |
| 1735 | </con:medi aType> | |
| 1736 | <con:statu s> | |
| 1737 | 200 | |
| 1738 | </con:stat us> | |
| 1739 | <con:param s/> | |
| 1740 | <con:eleme nt | |
| 1741 | xmlns:mob= "https://m obile. DNS " | |
| 1742 | > | |
| 1743 | mob:prescr iption | |
| 1744 | </con:elem ent> | |
| 1745 | </con:repr esentation > | |
| 1746 | <con:repre sentation | |
| 1747 | type="RESP ONSE" | |
| 1748 | > | |
| 1749 | <con:media Type | |
| 1750 | xsi:nil="t rue" | |
| 1751 | /> | |
| 1752 | <con:statu s> | |
| 1753 | 0 | |
| 1754 | </con:stat us> | |
| 1755 | <con:param s/> | |
| 1756 | <con:eleme nt> | |
| 1757 | data | |
| 1758 | </con:elem ent> | |
| 1759 | </con:repr esentation > | |
| 1760 | <con:repre sentation | |
| 1761 | type="RESP ONSE" | |
| 1762 | > | |
| 1763 | <con:media Type | |
| 1764 | xsi:nil="t rue" | |
| 1765 | /> | |
| 1766 | <con:statu s> | |
| 1767 | 0 | |
| 1768 | </con:stat us> | |
| 1769 | <con:param s/> | |
| 1770 | <con:eleme nt> | |
| 1771 | data | |
| 1772 | </con:elem ent> | |
| 1773 | </con:repr esentation > | |
| 1774 | <con:repre sentation | |
| 1775 | type="RESP ONSE" | |
| 1776 | > | |
| 1777 | <con:media Type | |
| 1778 | xsi:nil="t rue" | |
| 1779 | /> | |
| 1780 | <con:statu s> | |
| 1781 | 0 | |
| 1782 | </con:stat us> | |
| 1783 | <con:param s/> | |
| 1784 | <con:eleme nt> | |
| 1785 | data | |
| 1786 | </con:elem ent> | |
| 1787 | </con:repr esentation > | |
| 1788 | <con:reque st | |
| 1789 | name="Requ est 1" | |
| 1790 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 1791 | mediaType= "applicati on/json" | |
| 1792 | postQueryS tring="fal se" | |
| 1793 | > | |
| 1794 | <con:setti ngs> | |
| 1795 | <con:setti ng | |
| 1796 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 1797 | > | |
| 1798 | <entry key="Accep t" value=" applicatio n/json" xm lns="http: //eviware. com/soapui /config"/> | |
| 1799 | </con:sett ing> | |
| 1800 | </con:sett ings> | |
| 1801 | <con:endpo int> | |
| 1802 | https://DN S.DNS | |
| 1803 | </con:endp oint> | |
| 1804 | <con:reque st/> | |
| 1805 | <con:origi nalUri> | |
| 1806 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 1807 | </con:orig inalUri> | |
| 1808 | <con:crede ntials> | |
| 1809 | <con:authT ype> | |
| 1810 | No Authori zation | |
| 1811 | </con:auth Type> | |
| 1812 | </con:cred entials> | |
| 1813 | <con:jmsCo nfig | |
| 1814 | JMSDeliver yMode="PER SISTENT" | |
| 1815 | /> | |
| 1816 | <con:jmsPr opertyConf ig/> | |
| 1817 | <con:param eters/> | |
| 1818 | <con:param eterOrder/ > | |
| 1819 | </con:requ est> | |
| 1820 | </con:meth od> | |
| 1821 | </con:reso urce> | |
| 1822 | <con:resou rce | |
| 1823 | name="[RXR -562]Refil l Request Details" | |
| 1824 | path="/RxR efillServi ces/v2/pat ient/presc ription/re fillreques ts" | |
| 1825 | id="4104a0 d3-97d8-42 a1-81df-89 66f15c05ae " | |
| 1826 | > | |
| 1827 | <con:setti ngs/> | |
| 1828 | <con:param eters/> | |
| 1829 | <con:metho d | |
| 1830 | name="Refi ll Request Details" | |
| 1831 | id="04c392 d6-d9d1-4b 0a-8ba2-d6 e51ee2c835 " | |
| 1832 | method="GE T" | |
| 1833 | > | |
| 1834 | <con:setti ngs/> | |
| 1835 | <con:param eters/> | |
| 1836 | <con:repre sentation | |
| 1837 | type="RESP ONSE" | |
| 1838 | > | |
| 1839 | <con:media Type> | |
| 1840 | applicatio n/json | |
| 1841 | </con:medi aType> | |
| 1842 | <con:statu s> | |
| 1843 | 200 | |
| 1844 | </con:stat us> | |
| 1845 | <con:param s/> | |
| 1846 | <con:eleme nt | |
| 1847 | xmlns:his= "http://lo calhost/Rx RefillServ ices/patie nt/prescri ption/hist oric" | |
| 1848 | > | |
| 1849 | his:Respon se | |
| 1850 | </con:elem ent> | |
| 1851 | </con:repr esentation > | |
| 1852 | <con:repre sentation | |
| 1853 | type="RESP ONSE" | |
| 1854 | > | |
| 1855 | <con:media Type | |
| 1856 | xsi:nil="t rue" | |
| 1857 | /> | |
| 1858 | <con:statu s> | |
| 1859 | 0 | |
| 1860 | </con:stat us> | |
| 1861 | <con:param s/> | |
| 1862 | <con:eleme nt> | |
| 1863 | data | |
| 1864 | </con:elem ent> | |
| 1865 | </con:repr esentation > | |
| 1866 | <con:repre sentation | |
| 1867 | type="FAUL T" | |
| 1868 | > | |
| 1869 | <con:media Type> | |
| 1870 | applicatio n/json | |
| 1871 | </con:medi aType> | |
| 1872 | <con:statu s> | |
| 1873 | 500 401 | |
| 1874 | </con:stat us> | |
| 1875 | <con:param s/> | |
| 1876 | <con:eleme nt | |
| 1877 | xmlns:his= "http://lo calhost/Rx RefillServ ices/patie nt/prescri ption/hist oric" | |
| 1878 | > | |
| 1879 | his:Fault | |
| 1880 | </con:elem ent> | |
| 1881 | </con:repr esentation > | |
| 1882 | <con:repre sentation | |
| 1883 | type="RESP ONSE" | |
| 1884 | > | |
| 1885 | <con:media Type> | |
| 1886 | applicatio n/xml | |
| 1887 | </con:medi aType> | |
| 1888 | <con:statu s> | |
| 1889 | 200 | |
| 1890 | </con:stat us> | |
| 1891 | <con:param s/> | |
| 1892 | <con:eleme nt | |
| 1893 | xmlns:mob= "https:// DNS . DNS " | |
| 1894 | > | |
| 1895 | mob:medica tionRefill RequestDet ails | |
| 1896 | </con:elem ent> | |
| 1897 | </con:repr esentation > | |
| 1898 | <con:repre sentation | |
| 1899 | type="FAUL T" | |
| 1900 | > | |
| 1901 | <con:media Type> | |
| 1902 | text/html; charset=ut f-8 | |
| 1903 | </con:medi aType> | |
| 1904 | <con:statu s> | |
| 1905 | 500 403 | |
| 1906 | </con:stat us> | |
| 1907 | <con:param s/> | |
| 1908 | <con:eleme nt> | |
| 1909 | html | |
| 1910 | </con:elem ent> | |
| 1911 | </con:repr esentation > | |
| 1912 | <con:repre sentation | |
| 1913 | type="FAUL T" | |
| 1914 | > | |
| 1915 | <con:media Type | |
| 1916 | xsi:nil="t rue" | |
| 1917 | /> | |
| 1918 | <con:statu s> | |
| 1919 | 400 | |
| 1920 | </con:stat us> | |
| 1921 | <con:param s/> | |
| 1922 | <con:eleme nt> | |
| 1923 | data | |
| 1924 | </con:elem ent> | |
| 1925 | </con:repr esentation > | |
| 1926 | <con:repre sentation | |
| 1927 | type="FAUL T" | |
| 1928 | > | |
| 1929 | <con:media Type | |
| 1930 | xsi:nil="t rue" | |
| 1931 | /> | |
| 1932 | <con:statu s> | |
| 1933 | 400 | |
| 1934 | </con:stat us> | |
| 1935 | <con:param s/> | |
| 1936 | <con:eleme nt> | |
| 1937 | data | |
| 1938 | </con:elem ent> | |
| 1939 | </con:repr esentation > | |
| 1940 | <con:reque st | |
| 1941 | name="Requ est 1" | |
| 1942 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 1943 | mediaType= "applicati on/json" | |
| 1944 | > | |
| 1945 | <con:setti ngs> | |
| 1946 | <con:setti ng | |
| 1947 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 1948 | > | |
| 1949 | <![CDATA[< xml-fragme nt xmlns:c on="http:/ /eviware.c om/soapui/ config"> | |
| 1950 | <con:ent ry key="st artDate" v alue="Mon, 6 April 2 015 00:00: 00 EDT"/> | |
| 1951 | <con:ent ry key="pa tientId" v alue="8646 73"/> | |
| 1952 | <con:ent ry key="Au thorizatio n" value=" Bearer fb8 55ffd-8523 -4a94-8d63 -240605276 61c"/> | |
| 1953 | <con:ent ry key="co unt" value ="false"/> | |
| 1954 | <con:ent ry key="as signingAut hority" va lue="EDIPI "/> | |
| 1955 | <con:ent ry key="en dDate" val ue="Fri, 1 5 May 2015 00:00:00 EDT"/> | |
| 1956 | <con:ent ry key="Ac cept" valu e="applica tion/xml"/ > | |
| 1957 | </xml-frag ment>]]> | |
| 1958 | </con:sett ing> | |
| 1959 | </con:sett ings> | |
| 1960 | <con:endpo int> | |
| 1961 | http://loc alhost:808 0 | |
| 1962 | </con:endp oint> | |
| 1963 | <con:reque st/> | |
| 1964 | <con:origi nalUri> | |
| 1965 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/histo ric | |
| 1966 | </con:orig inalUri> | |
| 1967 | <con:crede ntials> | |
| 1968 | <con:authT ype> | |
| 1969 | No Authori zation | |
| 1970 | </con:auth Type> | |
| 1971 | </con:cred entials> | |
| 1972 | <con:jmsCo nfig | |
| 1973 | JMSDeliver yMode="PER SISTENT" | |
| 1974 | /> | |
| 1975 | <con:jmsPr opertyConf ig/> | |
| 1976 | <con:param eters/> | |
| 1977 | </con:requ est> | |
| 1978 | </con:meth od> | |
| 1979 | </con:reso urce> | |
| 1980 | <con:resou rce | |
| 1981 | name="Auth orization Service" | |
| 1982 | path="/Aut horization Services/r est/valida teToken" | |
| 1983 | id="90423f d8-f6c8-42 59-8000-a2 06377be459 " | |
| 1984 | > | |
| 1985 | <con:setti ngs/> | |
| 1986 | <con:param eters/> | |
| 1987 | <con:metho d | |
| 1988 | name="Meth od 1" | |
| 1989 | id="7648d0 04-e9a0-46 30-b89f-61 4b581b6328 " | |
| 1990 | method="PO ST" | |
| 1991 | > | |
| 1992 | <con:setti ngs/> | |
| 1993 | <con:param eters> | |
| 1994 | <con:param eter> | |
| 1995 | <con:name> | |
| 1996 | token | |
| 1997 | </con:name > | |
| 1998 | <con:value > | |
| 1999 | 55b8fdcf-3 f91-4a4f-8 668-6ffb26 bbaf28 | |
| 2000 | </con:valu e> | |
| 2001 | <con:style > | |
| 2002 | PLAIN | |
| 2003 | </con:styl e> | |
| 2004 | <con:defau lt> | |
| 2005 | 55b8fdcf-3 f91-4a4f-8 668-6ffb26 bbaf28 | |
| 2006 | </con:defa ult> | |
| 2007 | <con:descr iption | |
| 2008 | xsi:nil="t rue" | |
| 2009 | /> | |
| 2010 | </con:para meter> | |
| 2011 | </con:para meters> | |
| 2012 | <con:repre sentation | |
| 2013 | type="FAUL T" | |
| 2014 | > | |
| 2015 | <con:media Type> | |
| 2016 | text/html; charset=U TF-8 | |
| 2017 | </con:medi aType> | |
| 2018 | <con:statu s> | |
| 2019 | 405 400 41 5 | |
| 2020 | </con:stat us> | |
| 2021 | <con:param s/> | |
| 2022 | <con:eleme nt> | |
| 2023 | html | |
| 2024 | </con:elem ent> | |
| 2025 | </con:repr esentation > | |
| 2026 | <con:repre sentation | |
| 2027 | type="REQU EST" | |
| 2028 | > | |
| 2029 | <con:media Type> | |
| 2030 | applicatio n/json | |
| 2031 | </con:medi aType> | |
| 2032 | <con:param s/> | |
| 2033 | </con:repr esentation > | |
| 2034 | <con:repre sentation | |
| 2035 | type="FAUL T" | |
| 2036 | > | |
| 2037 | <con:media Type> | |
| 2038 | applicatio n/json;cha rset=UTF-8 | |
| 2039 | </con:medi aType> | |
| 2040 | <con:statu s> | |
| 2041 | 401 | |
| 2042 | </con:stat us> | |
| 2043 | <con:param s/> | |
| 2044 | <con:eleme nt | |
| 2045 | xmlns:val= "http:// DNS . DNS /Authoriza tionServic es/rest/va lidateToke n" | |
| 2046 | > | |
| 2047 | val:Fault | |
| 2048 | </con:elem ent> | |
| 2049 | </con:repr esentation > | |
| 2050 | <con:repre sentation | |
| 2051 | type="FAUL T" | |
| 2052 | > | |
| 2053 | <con:media Type> | |
| 2054 | applicatio n/json | |
| 2055 | </con:medi aType> | |
| 2056 | <con:statu s> | |
| 2057 | 401 | |
| 2058 | </con:stat us> | |
| 2059 | <con:param s/> | |
| 2060 | <con:eleme nt | |
| 2061 | xmlns:val= "http:// DNS . DNS /Authoriza tionServic es/rest/va lidateToke n" | |
| 2062 | > | |
| 2063 | val:Fault | |
| 2064 | </con:elem ent> | |
| 2065 | </con:repr esentation > | |
| 2066 | <con:repre sentation | |
| 2067 | type="REQU EST" | |
| 2068 | > | |
| 2069 | <con:media Type> | |
| 2070 | multipart/ form-data | |
| 2071 | </con:medi aType> | |
| 2072 | <con:param s/> | |
| 2073 | </con:repr esentation > | |
| 2074 | <con:repre sentation | |
| 2075 | type="REQU EST" | |
| 2076 | > | |
| 2077 | <con:media Type> | |
| 2078 | applicatio n/xml | |
| 2079 | </con:medi aType> | |
| 2080 | <con:param s/> | |
| 2081 | </con:repr esentation > | |
| 2082 | <con:reque st | |
| 2083 | name="Requ est 1" | |
| 2084 | id="202dda 44-7ca6-45 a2-8fac-09 1346c3d94f " | |
| 2085 | mediaType= "applicati on/xml" | |
| 2086 | postQueryS tring="fal se" | |
| 2087 | > | |
| 2088 | <con:setti ngs> | |
| 2089 | <con:setti ng | |
| 2090 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 2091 | > | |
| 2092 | <xml-fr agment/> | |
| 2093 | </con:sett ing> | |
| 2094 | <con:setti ng | |
| 2095 | id="Record RequestRep resentatio ns" | |
| 2096 | > | |
| 2097 | false | |
| 2098 | </con:sett ing> | |
| 2099 | </con:sett ings> | |
| 2100 | <con:endpo int> | |
| 2101 | https://DN S.DNS | |
| 2102 | </con:endp oint> | |
| 2103 | <con:reque st/> | |
| 2104 | <con:origi nalUri> | |
| 2105 | http:// DNS . DNS /Authoriza tionServic es/rest/va lidateToke n | |
| 2106 | </con:orig inalUri> | |
| 2107 | <con:crede ntials> | |
| 2108 | <con:authT ype> | |
| 2109 | No Authori zation | |
| 2110 | </con:auth Type> | |
| 2111 | </con:cred entials> | |
| 2112 | <con:jmsCo nfig | |
| 2113 | JMSDeliver yMode="PER SISTENT" | |
| 2114 | /> | |
| 2115 | <con:jmsPr opertyConf ig/> | |
| 2116 | <con:param eters/> | |
| 2117 | <con:param eterOrder> | |
| 2118 | <con:entry > | |
| 2119 | token | |
| 2120 | </con:entr y> | |
| 2121 | </con:para meterOrder > | |
| 2122 | </con:requ est> | |
| 2123 | </con:meth od> | |
| 2124 | </con:reso urce> | |
| 2125 | <con:resou rce | |
| 2126 | name="MSSP atientView erROA" | |
| 2127 | path="/Mob ileHealthP latformWeb /rest/mhpu ser/right- of-access" | |
| 2128 | id="90423f d8-f6c8-42 59-8000-a2 06377be459 " | |
| 2129 | > | |
| 2130 | <con:setti ngs/> | |
| 2131 | <con:param eters/> | |
| 2132 | <con:metho d | |
| 2133 | name="Meth od 1" | |
| 2134 | id="7648d0 04-e9a0-46 30-b89f-61 4b581b6328 " | |
| 2135 | method="GE T" | |
| 2136 | > | |
| 2137 | <con:setti ngs/> | |
| 2138 | <con:param eters/> | |
| 2139 | <con:repre sentation | |
| 2140 | type="FAUL T" | |
| 2141 | > | |
| 2142 | <con:media Type> | |
| 2143 | text/html; charset=U TF-8 | |
| 2144 | </con:medi aType> | |
| 2145 | <con:statu s> | |
| 2146 | 405 400 | |
| 2147 | </con:stat us> | |
| 2148 | <con:param s/> | |
| 2149 | <con:eleme nt> | |
| 2150 | html | |
| 2151 | </con:elem ent> | |
| 2152 | </con:repr esentation > | |
| 2153 | <con:repre sentation | |
| 2154 | type="REQU EST" | |
| 2155 | > | |
| 2156 | <con:media Type> | |
| 2157 | applicatio n/json | |
| 2158 | </con:medi aType> | |
| 2159 | <con:param s/> | |
| 2160 | </con:repr esentation > | |
| 2161 | <con:repre sentation | |
| 2162 | type="FAUL T" | |
| 2163 | > | |
| 2164 | <con:media Type> | |
| 2165 | applicatio n/json;cha rset=UTF-8 | |
| 2166 | </con:medi aType> | |
| 2167 | <con:statu s> | |
| 2168 | 401 | |
| 2169 | </con:stat us> | |
| 2170 | <con:param s/> | |
| 2171 | <con:eleme nt | |
| 2172 | xmlns:val= "http:// DNS . DNS /Authoriza tionServic es/rest/va lidateToke n" | |
| 2173 | > | |
| 2174 | val:Fault | |
| 2175 | </con:elem ent> | |
| 2176 | </con:repr esentation > | |
| 2177 | <con:repre sentation | |
| 2178 | type="FAUL T" | |
| 2179 | > | |
| 2180 | <con:media Type> | |
| 2181 | text/html; charset=i so-8859-1 | |
| 2182 | </con:medi aType> | |
| 2183 | <con:statu s> | |
| 2184 | 404 | |
| 2185 | </con:stat us> | |
| 2186 | <con:param s/> | |
| 2187 | <con:eleme nt> | |
| 2188 | html | |
| 2189 | </con:elem ent> | |
| 2190 | </con:repr esentation > | |
| 2191 | <con:repre sentation | |
| 2192 | type="FAUL T" | |
| 2193 | > | |
| 2194 | <con:media Type> | |
| 2195 | text/plain ; charset= UTF-8 | |
| 2196 | </con:medi aType> | |
| 2197 | <con:statu s> | |
| 2198 | 404 | |
| 2199 | </con:stat us> | |
| 2200 | <con:param s/> | |
| 2201 | <con:eleme nt> | |
| 2202 | data | |
| 2203 | </con:elem ent> | |
| 2204 | </con:repr esentation > | |
| 2205 | <con:repre sentation | |
| 2206 | type="RESP ONSE" | |
| 2207 | > | |
| 2208 | <con:media Type> | |
| 2209 | applicatio n/json | |
| 2210 | </con:medi aType> | |
| 2211 | <con:statu s> | |
| 2212 | 200 | |
| 2213 | </con:stat us> | |
| 2214 | <con:param s/> | |
| 2215 | <con:eleme nt | |
| 2216 | xmlns:val= "http:// DNS . DNS /Authoriza tionServic es/rest/va lidateToke n" | |
| 2217 | > | |
| 2218 | val:Respon se | |
| 2219 | </con:elem ent> | |
| 2220 | </con:repr esentation > | |
| 2221 | <con:reque st | |
| 2222 | name="Requ est 1" | |
| 2223 | id="202dda 44-7ca6-45 a2-8fac-09 1346c3d94f " | |
| 2224 | mediaType= "applicati on/json" | |
| 2225 | postQueryS tring="fal se" | |
| 2226 | > | |
| 2227 | <con:setti ngs> | |
| 2228 | <con:setti ng | |
| 2229 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 2230 | > | |
| 2231 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 2232 | <con: entry key= "Authoriza tion" valu e="Bearer d7fd7c53-4 836-415e-8 d8e-b51ab7 cb1872"/> | |
| 2233 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 2234 | </xml-f ragment> | |
| 2235 | </con:sett ing> | |
| 2236 | </con:sett ings> | |
| 2237 | <con:endpo int> | |
| 2238 | https://DN S.DNS | |
| 2239 | </con:endp oint> | |
| 2240 | <con:reque st/> | |
| 2241 | <con:origi nalUri> | |
| 2242 | http:// DNS . DNS /Authoriza tionServic es/rest/va lidateToke n | |
| 2243 | </con:orig inalUri> | |
| 2244 | <con:crede ntials> | |
| 2245 | <con:authT ype> | |
| 2246 | No Authori zation | |
| 2247 | </con:auth Type> | |
| 2248 | </con:cred entials> | |
| 2249 | <con:jmsCo nfig | |
| 2250 | JMSDeliver yMode="PER SISTENT" | |
| 2251 | /> | |
| 2252 | <con:jmsPr opertyConf ig/> | |
| 2253 | <con:param eters/> | |
| 2254 | <con:param eterOrder/ > | |
| 2255 | </con:requ est> | |
| 2256 | </con:meth od> | |
| 2257 | </con:reso urce> | |
| 2258 | <con:resou rce | |
| 2259 | name="[RXR -1017]Refi llable Pre scriptions " | |
| 2260 | path="/RxR efillServi ces/v2/pat ient/presc ription/re fillable" | |
| 2261 | id="4104a0 d3-97d8-42 a1-81df-89 66f15c05ae " | |
| 2262 | > | |
| 2263 | <con:setti ngs/> | |
| 2264 | <con:param eters/> | |
| 2265 | <con:metho d | |
| 2266 | name="Refi llable Rx" | |
| 2267 | id="04c392 d6-d9d1-4b 0a-8ba2-d6 e51ee2c835 " | |
| 2268 | method="GE T" | |
| 2269 | > | |
| 2270 | <con:setti ngs/> | |
| 2271 | <con:param eters/> | |
| 2272 | <con:repre sentation | |
| 2273 | type="RESP ONSE" | |
| 2274 | > | |
| 2275 | <con:media Type> | |
| 2276 | applicatio n/json | |
| 2277 | </con:medi aType> | |
| 2278 | <con:statu s> | |
| 2279 | 200 | |
| 2280 | </con:stat us> | |
| 2281 | <con:param s/> | |
| 2282 | <con:eleme nt | |
| 2283 | xmlns:act= "http://lo calhost/Rx RefillServ ices/patie nt/prescri ption/acti ve" | |
| 2284 | > | |
| 2285 | act:Respon se | |
| 2286 | </con:elem ent> | |
| 2287 | </con:repr esentation > | |
| 2288 | <con:repre sentation | |
| 2289 | type="FAUL T" | |
| 2290 | > | |
| 2291 | <con:media Type> | |
| 2292 | applicatio n/json | |
| 2293 | </con:medi aType> | |
| 2294 | <con:statu s> | |
| 2295 | 404 400 50 0 401 | |
| 2296 | </con:stat us> | |
| 2297 | <con:param s/> | |
| 2298 | <con:eleme nt | |
| 2299 | xmlns:act= "http://lo calhost/Rx RefillServ ices/patie nt/prescri ption/acti ve" | |
| 2300 | > | |
| 2301 | act:Fault | |
| 2302 | </con:elem ent> | |
| 2303 | </con:repr esentation > | |
| 2304 | <con:repre sentation | |
| 2305 | type="RESP ONSE" | |
| 2306 | > | |
| 2307 | <con:media Type | |
| 2308 | xsi:nil="t rue" | |
| 2309 | /> | |
| 2310 | <con:statu s> | |
| 2311 | 0 | |
| 2312 | </con:stat us> | |
| 2313 | <con:param s/> | |
| 2314 | <con:eleme nt> | |
| 2315 | data | |
| 2316 | </con:elem ent> | |
| 2317 | </con:repr esentation > | |
| 2318 | <con:repre sentation | |
| 2319 | type="RESP ONSE" | |
| 2320 | > | |
| 2321 | <con:media Type | |
| 2322 | xsi:nil="t rue" | |
| 2323 | /> | |
| 2324 | <con:statu s> | |
| 2325 | 0 | |
| 2326 | </con:stat us> | |
| 2327 | <con:param s/> | |
| 2328 | <con:eleme nt> | |
| 2329 | data | |
| 2330 | </con:elem ent> | |
| 2331 | </con:repr esentation > | |
| 2332 | <con:repre sentation | |
| 2333 | type="RESP ONSE" | |
| 2334 | > | |
| 2335 | <con:media Type | |
| 2336 | xsi:nil="t rue" | |
| 2337 | /> | |
| 2338 | <con:statu s> | |
| 2339 | 0 | |
| 2340 | </con:stat us> | |
| 2341 | <con:param s/> | |
| 2342 | <con:eleme nt> | |
| 2343 | data | |
| 2344 | </con:elem ent> | |
| 2345 | </con:repr esentation > | |
| 2346 | <con:repre sentation | |
| 2347 | type="RESP ONSE" | |
| 2348 | > | |
| 2349 | <con:media Type | |
| 2350 | xsi:nil="t rue" | |
| 2351 | /> | |
| 2352 | <con:statu s> | |
| 2353 | 0 | |
| 2354 | </con:stat us> | |
| 2355 | <con:param s/> | |
| 2356 | <con:eleme nt> | |
| 2357 | data | |
| 2358 | </con:elem ent> | |
| 2359 | </con:repr esentation > | |
| 2360 | <con:repre sentation | |
| 2361 | type="RESP ONSE" | |
| 2362 | > | |
| 2363 | <con:media Type | |
| 2364 | xsi:nil="t rue" | |
| 2365 | /> | |
| 2366 | <con:statu s> | |
| 2367 | 0 | |
| 2368 | </con:stat us> | |
| 2369 | <con:param s/> | |
| 2370 | <con:eleme nt> | |
| 2371 | data | |
| 2372 | </con:elem ent> | |
| 2373 | </con:repr esentation > | |
| 2374 | <con:repre sentation | |
| 2375 | type="RESP ONSE" | |
| 2376 | > | |
| 2377 | <con:media Type | |
| 2378 | xsi:nil="t rue" | |
| 2379 | /> | |
| 2380 | <con:statu s> | |
| 2381 | 0 | |
| 2382 | </con:stat us> | |
| 2383 | <con:param s/> | |
| 2384 | <con:eleme nt> | |
| 2385 | data | |
| 2386 | </con:elem ent> | |
| 2387 | </con:repr esentation > | |
| 2388 | <con:repre sentation | |
| 2389 | type="RESP ONSE" | |
| 2390 | > | |
| 2391 | <con:media Type | |
| 2392 | xsi:nil="t rue" | |
| 2393 | /> | |
| 2394 | <con:statu s> | |
| 2395 | 0 | |
| 2396 | </con:stat us> | |
| 2397 | <con:param s/> | |
| 2398 | <con:eleme nt> | |
| 2399 | data | |
| 2400 | </con:elem ent> | |
| 2401 | </con:repr esentation > | |
| 2402 | <con:repre sentation | |
| 2403 | type="RESP ONSE" | |
| 2404 | > | |
| 2405 | <con:media Type | |
| 2406 | xsi:nil="t rue" | |
| 2407 | /> | |
| 2408 | <con:statu s> | |
| 2409 | 0 | |
| 2410 | </con:stat us> | |
| 2411 | <con:param s/> | |
| 2412 | <con:eleme nt> | |
| 2413 | data | |
| 2414 | </con:elem ent> | |
| 2415 | </con:repr esentation > | |
| 2416 | <con:repre sentation | |
| 2417 | type="RESP ONSE" | |
| 2418 | > | |
| 2419 | <con:media Type | |
| 2420 | xsi:nil="t rue" | |
| 2421 | /> | |
| 2422 | <con:statu s> | |
| 2423 | 0 | |
| 2424 | </con:stat us> | |
| 2425 | <con:param s/> | |
| 2426 | <con:eleme nt> | |
| 2427 | data | |
| 2428 | </con:elem ent> | |
| 2429 | </con:repr esentation > | |
| 2430 | <con:repre sentation | |
| 2431 | type="RESP ONSE" | |
| 2432 | > | |
| 2433 | <con:media Type | |
| 2434 | xsi:nil="t rue" | |
| 2435 | /> | |
| 2436 | <con:statu s> | |
| 2437 | 0 | |
| 2438 | </con:stat us> | |
| 2439 | <con:param s/> | |
| 2440 | <con:eleme nt> | |
| 2441 | data | |
| 2442 | </con:elem ent> | |
| 2443 | </con:repr esentation > | |
| 2444 | <con:repre sentation | |
| 2445 | type="FAUL T" | |
| 2446 | > | |
| 2447 | <con:media Type> | |
| 2448 | text/html; charset=U TF-8 | |
| 2449 | </con:medi aType> | |
| 2450 | <con:statu s> | |
| 2451 | 500 403 | |
| 2452 | </con:stat us> | |
| 2453 | <con:param s/> | |
| 2454 | <con:eleme nt> | |
| 2455 | html | |
| 2456 | </con:elem ent> | |
| 2457 | </con:repr esentation > | |
| 2458 | <con:repre sentation | |
| 2459 | type="FAUL T" | |
| 2460 | > | |
| 2461 | <con:media Type> | |
| 2462 | text/html; charset=ut f-8 | |
| 2463 | </con:medi aType> | |
| 2464 | <con:statu s> | |
| 2465 | 403 | |
| 2466 | </con:stat us> | |
| 2467 | <con:param s/> | |
| 2468 | <con:eleme nt> | |
| 2469 | html | |
| 2470 | </con:elem ent> | |
| 2471 | </con:repr esentation > | |
| 2472 | <con:repre sentation | |
| 2473 | type="RESP ONSE" | |
| 2474 | > | |
| 2475 | <con:media Type | |
| 2476 | xsi:nil="t rue" | |
| 2477 | /> | |
| 2478 | <con:statu s> | |
| 2479 | 0 | |
| 2480 | </con:stat us> | |
| 2481 | <con:param s/> | |
| 2482 | <con:eleme nt> | |
| 2483 | data | |
| 2484 | </con:elem ent> | |
| 2485 | </con:repr esentation > | |
| 2486 | <con:reque st | |
| 2487 | name="Requ est 1" | |
| 2488 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 2489 | mediaType= "applicati on/json" | |
| 2490 | > | |
| 2491 | <con:setti ngs> | |
| 2492 | <con:setti ng | |
| 2493 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 2494 | > | |
| 2495 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 2496 | <con: entry key= "Authoriza tion" valu e="Bearer 833de81f-3 edf-435a-9 c4d-19c903 58181a"/> | |
| 2497 | <con: entry key= "Token" va lue="CGkPD Ye2erk=Q60 qx884M3Ngr 0W38xXOEJk XRIQJE6t6D EtL04jaM0s ="/> | |
| 2498 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 2499 | </xml-f ragment> | |
| 2500 | </con:sett ing> | |
| 2501 | </con:sett ings> | |
| 2502 | <con:endpo int> | |
| 2503 | https://DN S.DNS | |
| 2504 | </con:endp oint> | |
| 2505 | <con:reque st/> | |
| 2506 | <con:origi nalUri> | |
| 2507 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 2508 | </con:orig inalUri> | |
| 2509 | <con:crede ntials> | |
| 2510 | <con:authT ype> | |
| 2511 | No Authori zation | |
| 2512 | </con:auth Type> | |
| 2513 | </con:cred entials> | |
| 2514 | <con:jmsCo nfig | |
| 2515 | JMSDeliver yMode="PER SISTENT" | |
| 2516 | /> | |
| 2517 | <con:jmsPr opertyConf ig/> | |
| 2518 | <con:param eters/> | |
| 2519 | </con:requ est> | |
| 2520 | </con:meth od> | |
| 2521 | </con:reso urce> | |
| 2522 | </con:inte rface> | |
| 2523 | <con:testS uite | |
| 2524 | id="e01639 d4-85fb-43 74-acfd-db 92d47ff0fc " | |
| 2525 | name="Rx R efill Test Suite" | |
| 2526 | > | |
| 2527 | <con:setti ngs/> | |
| 2528 | <con:runTy pe> | |
| 2529 | SEQUENTIAL | |
| 2530 | </con:runT ype> | |
| 2531 | <con:testC ase | |
| 2532 | id="f268a3 c5-c9f8-4c d4-a763-39 8d1128dd8b " | |
| 2533 | failOnErro r="true" | |
| 2534 | failTestCa seOnErrors ="true" | |
| 2535 | keepSessio n="false" | |
| 2536 | maxResults ="0" | |
| 2537 | name="Get Active Rx" | |
| 2538 | searchProp erties="tr ue" | |
| 2539 | > | |
| 2540 | <con:setti ngs/> | |
| 2541 | <con:testS tep | |
| 2542 | type="rest request" | |
| 2543 | name="Crea te Session " | |
| 2544 | id="fcbe60 97-de5f-4d 49-ad60-53 53f37073d8 " | |
| 2545 | > | |
| 2546 | <con:setti ngs/> | |
| 2547 | <con:confi g | |
| 2548 | service="R x Refill A PI" | |
| 2549 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 2550 | methodName ="Session" | |
| 2551 | xsi:type=" con:RestRe questStep" | |
| 2552 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 2553 | > | |
| 2554 | <con:restR equest | |
| 2555 | name="Crea te Session " | |
| 2556 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 2557 | mediaType= "applicati on/json" | |
| 2558 | postQueryS tring="fal se" | |
| 2559 | > | |
| 2560 | <con:setti ngs> | |
| 2561 | <con:setti ng | |
| 2562 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 2563 | > | |
| 2564 | <entry key="Accep t" value=" applicatio n/json" xm lns="http: //eviware. com/soapui /config"/> | |
| 2565 | </con:sett ing> | |
| 2566 | </con:sett ings> | |
| 2567 | <con:endpo int> | |
| 2568 | http://DNS .DNS :80 80/ | |
| 2569 | </con:endp oint> | |
| 2570 | <con:reque st/> | |
| 2571 | <con:origi nalUri> | |
| 2572 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 2573 | </con:orig inalUri> | |
| 2574 | <con:crede ntials> | |
| 2575 | <con:authT ype> | |
| 2576 | No Authori zation | |
| 2577 | </con:auth Type> | |
| 2578 | </con:cred entials> | |
| 2579 | <con:jmsCo nfig | |
| 2580 | JMSDeliver yMode="PER SISTENT" | |
| 2581 | /> | |
| 2582 | <con:jmsPr opertyConf ig/> | |
| 2583 | <con:param eters> | |
| 2584 | <entry | |
| 2585 | key="patie ntid" | |
| 2586 | value="864 673" | |
| 2587 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 2588 | /> | |
| 2589 | </con:para meters> | |
| 2590 | <con:param eterOrder> | |
| 2591 | <con:entry > | |
| 2592 | patientid | |
| 2593 | </con:entr y> | |
| 2594 | </con:para meterOrder > | |
| 2595 | </con:rest Request> | |
| 2596 | </con:conf ig> | |
| 2597 | </con:test Step> | |
| 2598 | <con:testS tep | |
| 2599 | type="groo vy" | |
| 2600 | name="Set session va riables" | |
| 2601 | id="ce0c54 11-9165-49 a3-a4a2-cd cb71ee7ea1 " | |
| 2602 | > | |
| 2603 | <con:setti ngs/> | |
| 2604 | <con:confi g> | |
| 2605 | <script> | |
| 2606 | import gro ovy.json.J sonSlurper | |
| 2607 | ||
| 2608 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Cre ate Sessio n").getPro pertyValue ("response ") | |
| 2609 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 2610 | ||
| 2611 | def token = slurperr esponse.to ken | |
| 2612 | def expire s = slurpe rresponse. expiresDat e | |
| 2613 | ||
| 2614 | testRunner .testCase. setPropert yValue("To ken",token ) | |
| 2615 | ||
| 2616 | log.info(" Session to ken: "+tok en.toStrin g()) | |
| 2617 | log.info(" Token expi res: "+exp ires.toStr ing()) | |
| 2618 | ||
| 2619 | assert (to ken.length ()) > 0 | |
| 2620 | assert (ex pires.leng th()) > 0 | |
| 2621 | </script> | |
| 2622 | </con:conf ig> | |
| 2623 | </con:test Step> | |
| 2624 | <con:testS tep | |
| 2625 | type="rest request" | |
| 2626 | name="Get Active" | |
| 2627 | id="e7fbe9 fe-c29f-49 a2-9891-79 d34962abf3 " | |
| 2628 | > | |
| 2629 | <con:setti ngs/> | |
| 2630 | <con:confi g | |
| 2631 | service="R x Refill A PI" | |
| 2632 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/acti ve" | |
| 2633 | methodName ="Active R x" | |
| 2634 | xsi:type=" con:RestRe questStep" | |
| 2635 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 2636 | > | |
| 2637 | <con:restR equest | |
| 2638 | name="Get Active" | |
| 2639 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 2640 | mediaType= "applicati on/json" | |
| 2641 | > | |
| 2642 | <con:setti ngs> | |
| 2643 | <con:setti ng | |
| 2644 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 2645 | > | |
| 2646 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 2647 | <con: entry key= "Authoriza tion" valu e="Bearer ${#TestCas e#oAuthTok en}"/> | |
| 2648 | <con: entry key= "Token" va lue="${#Te stCase#Tok en}"/> | |
| 2649 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 2650 | </xml-f ragment> | |
| 2651 | </con:sett ing> | |
| 2652 | </con:sett ings> | |
| 2653 | <con:endpo int> | |
| 2654 | http://DNS .DNS :80 80/ | |
| 2655 | </con:endp oint> | |
| 2656 | <con:reque st/> | |
| 2657 | <con:origi nalUri> | |
| 2658 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 2659 | </con:orig inalUri> | |
| 2660 | <con:crede ntials> | |
| 2661 | <con:authT ype> | |
| 2662 | No Authori zation | |
| 2663 | </con:auth Type> | |
| 2664 | </con:cred entials> | |
| 2665 | <con:jmsCo nfig | |
| 2666 | JMSDeliver yMode="PER SISTENT" | |
| 2667 | /> | |
| 2668 | <con:jmsPr opertyConf ig/> | |
| 2669 | <con:param eters/> | |
| 2670 | </con:rest Request> | |
| 2671 | </con:conf ig> | |
| 2672 | </con:test Step> | |
| 2673 | <con:testS tep | |
| 2674 | type="groo vy" | |
| 2675 | name="Log Results" | |
| 2676 | id="2d61c5 f1-76d5-44 e9-8d84-1a f896a7c125 " | |
| 2677 | > | |
| 2678 | <con:setti ngs/> | |
| 2679 | <con:confi g> | |
| 2680 | <script> | |
| 2681 | import gro ovy.json.J sonSlurper | |
| 2682 | ||
| 2683 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Get Active"). getPropert yValue("re sponse") | |
| 2684 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 2685 | def i = 0 | |
| 2686 | ||
| 2687 | log.info(" Active Rx Response: ") | |
| 2688 | while(slur perrespons e.prescrip tionList.p rescriptio nNumber[i] != null) | |
| 2689 | { | |
| 2690 | de f counter = i + 1 | |
| 2691 | lo g.info("** * Active R x ["+count er+"] ***" ) | |
| 2692 | lo g.info("pr escription Number: "+ slurperres ponse.pres criptionLi st.prescri ptionNumbe r[i].toStr ing()) | |
| 2693 | log.i nfo("presc riptionNam e: "+slurp erresponse .prescript ionList.pr escription Name[i].to String()) | |
| 2694 | lo g.info("re fillStatus : "+slurpe rresponse. prescripti onList.ref illStatus[ i].toStrin g()) | |
| 2695 | log.i nfo("refil lDate: "+s lurperresp onse.presc riptionLis t.refillDa te[i].toSt ring()) | |
| 2696 | log.i nfo("refil lRemaining : "+slurpe rresponse. prescripti onList.ref illRemaini ng[i].toSt ring()) | |
| 2697 | log.i nfo("facil ityName: " +slurperre sponse.pre scriptionL ist.facili tyName[i]. toString() ) | |
| 2698 | log.i nfo("isRef illable: " +slurperre sponse.pre scriptionL ist.isRefi llable[i]. toString() ) | |
| 2699 | log.i nfo("isTra ckable: "+ slurperres ponse.pres criptionLi st.isTrack able[i].to String()) | |
| 2700 | log.i nfo("presc riptionId: "+slurper response.p rescriptio nList.pres criptionId [i].toStri ng()) | |
| 2701 | log.i nfo("order edDate: "+ slurperres ponse.pres criptionLi st.ordered Date[i].to String()) | |
| 2702 | log.i nfo("quant ity: "+slu rperrespon se.prescri ptionList. quantity[i ].toString ()) | |
| 2703 | log.i nfo("expir ationDate: "+slurper response.p rescriptio nList.expi rationDate [i].toStri ng()) | |
| 2704 | log.i nfo("stati onNumber: "+slurperr esponse.pr escription List.stati onNumber[i ].toString ()) | |
| 2705 | ||
| 2706 | i+ + | |
| 2707 | } | |
| 2708 | ||
| 2709 | </script> | |
| 2710 | </con:conf ig> | |
| 2711 | </con:test Step> | |
| 2712 | <con:prope rties/> | |
| 2713 | </con:test Case> | |
| 2714 | <con:testC ase | |
| 2715 | id="a3ce7a 72-ab5d-4f 21-bc46-96 9288a0cfc3 " | |
| 2716 | failOnErro r="true" | |
| 2717 | failTestCa seOnErrors ="true" | |
| 2718 | keepSessio n="false" | |
| 2719 | maxResults ="0" | |
| 2720 | name="Get Prescripti on Trackin g" | |
| 2721 | searchProp erties="tr ue" | |
| 2722 | > | |
| 2723 | <con:setti ngs/> | |
| 2724 | <con:testS tep | |
| 2725 | type="rest request" | |
| 2726 | name="Crea te Session " | |
| 2727 | id="a37b99 27-2886-46 a3-8cce-98 f39fe84fb1 " | |
| 2728 | > | |
| 2729 | <con:setti ngs/> | |
| 2730 | <con:confi g | |
| 2731 | service="R x Refill A PI" | |
| 2732 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 2733 | methodName ="Session" | |
| 2734 | xsi:type=" con:RestRe questStep" | |
| 2735 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 2736 | > | |
| 2737 | <con:restR equest | |
| 2738 | name="Crea te Session " | |
| 2739 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 2740 | mediaType= "applicati on/json" | |
| 2741 | postQueryS tring="fal se" | |
| 2742 | > | |
| 2743 | <con:setti ngs> | |
| 2744 | <con:setti ng | |
| 2745 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 2746 | > | |
| 2747 | <entry key="Accep t" value=" applicatio n/json" xm lns="http: //eviware. com/soapui /config"/> | |
| 2748 | </con:sett ing> | |
| 2749 | </con:sett ings> | |
| 2750 | <con:endpo int> | |
| 2751 | http://DNS .DNS :80 80/ | |
| 2752 | </con:endp oint> | |
| 2753 | <con:reque st/> | |
| 2754 | <con:origi nalUri> | |
| 2755 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 2756 | </con:orig inalUri> | |
| 2757 | <con:crede ntials> | |
| 2758 | <con:authT ype> | |
| 2759 | No Authori zation | |
| 2760 | </con:auth Type> | |
| 2761 | </con:cred entials> | |
| 2762 | <con:jmsCo nfig | |
| 2763 | JMSDeliver yMode="PER SISTENT" | |
| 2764 | /> | |
| 2765 | <con:jmsPr opertyConf ig/> | |
| 2766 | <con:param eters> | |
| 2767 | <entry | |
| 2768 | key="patie ntid" | |
| 2769 | value="745 819" | |
| 2770 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 2771 | /> | |
| 2772 | </con:para meters> | |
| 2773 | <con:param eterOrder> | |
| 2774 | <con:entry > | |
| 2775 | patientid | |
| 2776 | </con:entr y> | |
| 2777 | </con:para meterOrder > | |
| 2778 | </con:rest Request> | |
| 2779 | </con:conf ig> | |
| 2780 | </con:test Step> | |
| 2781 | <con:testS tep | |
| 2782 | type="groo vy" | |
| 2783 | name="Set session va riables" | |
| 2784 | id="b3cf6b ca-16c7-4a 4c-b5a8-37 7b7364bce1 " | |
| 2785 | > | |
| 2786 | <con:setti ngs/> | |
| 2787 | <con:confi g> | |
| 2788 | <script> | |
| 2789 | import gro ovy.json.J sonSlurper | |
| 2790 | ||
| 2791 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Cre ate Sessio n").getPro pertyValue ("response ") | |
| 2792 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 2793 | ||
| 2794 | def token = slurperr esponse.to ken | |
| 2795 | def expire s = slurpe rresponse. expiresDat e | |
| 2796 | ||
| 2797 | testRunner .testCase. setPropert yValue("To ken",token ) | |
| 2798 | ||
| 2799 | log.info(" Session to ken: "+tok en.toStrin g()) | |
| 2800 | log.info(" Token expi res: "+exp ires.toStr ing()) | |
| 2801 | ||
| 2802 | assert (to ken.length ()) > 0 | |
| 2803 | assert (ex pires.leng th()) > 0 | |
| 2804 | </script> | |
| 2805 | </con:conf ig> | |
| 2806 | </con:test Step> | |
| 2807 | <con:testS tep | |
| 2808 | type="rest request" | |
| 2809 | name="Get Tracking" | |
| 2810 | id="31b86b 10-7d61-47 9e-a82c-e8 8e1b604db8 " | |
| 2811 | > | |
| 2812 | <con:setti ngs/> | |
| 2813 | <con:confi g | |
| 2814 | service="R x Refill A PI" | |
| 2815 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/trac king" | |
| 2816 | methodName ="Rx Track ing" | |
| 2817 | xsi:type=" con:RestRe questStep" | |
| 2818 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 2819 | > | |
| 2820 | <con:restR equest | |
| 2821 | name="Get Tracking" | |
| 2822 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 2823 | mediaType= "applicati on/json" | |
| 2824 | > | |
| 2825 | <con:setti ngs> | |
| 2826 | <con:setti ng | |
| 2827 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 2828 | > | |
| 2829 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 2830 | <con: entry key= "Token" va lue="${#Te stCase#Tok en}"/> | |
| 2831 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 2832 | </xml-f ragment> | |
| 2833 | </con:sett ing> | |
| 2834 | </con:sett ings> | |
| 2835 | <con:endpo int> | |
| 2836 | http://DNS .DNS :80 80/ | |
| 2837 | </con:endp oint> | |
| 2838 | <con:reque st/> | |
| 2839 | <con:origi nalUri> | |
| 2840 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 2841 | </con:orig inalUri> | |
| 2842 | <con:crede ntials> | |
| 2843 | <con:authT ype> | |
| 2844 | No Authori zation | |
| 2845 | </con:auth Type> | |
| 2846 | </con:cred entials> | |
| 2847 | <con:jmsCo nfig | |
| 2848 | JMSDeliver yMode="PER SISTENT" | |
| 2849 | /> | |
| 2850 | <con:jmsPr opertyConf ig/> | |
| 2851 | <con:param eters/> | |
| 2852 | </con:rest Request> | |
| 2853 | </con:conf ig> | |
| 2854 | </con:test Step> | |
| 2855 | <con:testS tep | |
| 2856 | type="groo vy" | |
| 2857 | name="Log Results" | |
| 2858 | id="2721d7 71-40d5-4b 73-8456-93 553948ab5f " | |
| 2859 | > | |
| 2860 | <con:setti ngs/> | |
| 2861 | <con:confi g> | |
| 2862 | <script> | |
| 2863 | import gro ovy.json.J sonSlurper | |
| 2864 | ||
| 2865 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Get Tracking" ).getPrope rtyValue(" response") | |
| 2866 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 2867 | def i = 0 | |
| 2868 | ||
| 2869 | log.info(" Tracking R x Response : ") | |
| 2870 | ||
| 2871 | while(slur perrespons e.prescrip tionList.p rescriptio nNumber[i] != null) | |
| 2872 | { | |
| 2873 | de f counter = i + 1 | |
| 2874 | lo g.info("** * Tracking Rx ["+cou nter+"] ** *") | |
| 2875 | lo g.info("pr escription Number: "+ slurperres ponse.pres criptionLi st.prescri ptionNumbe r[i].toStr ing()) | |
| 2876 | log.i nfo("presc riptionNam e: "+slurp erresponse .prescript ionList.pr escription Name[i].to String()) | |
| 2877 | lo g.info("re fillStatus : "+slurpe rresponse. prescripti onList.ref illStatus[ i].toStrin g()) | |
| 2878 | log.i nfo("refil lDate: "+s lurperresp onse.presc riptionLis t.refillDa te[i].toSt ring()) | |
| 2879 | log.i nfo("refil lRemaining : "+slurpe rresponse. prescripti onList.ref illRemaini ng[i].toSt ring()) | |
| 2880 | log.i nfo("facil ityName: " +slurperre sponse.pre scriptionL ist.facili tyName[i]. toString() ) | |
| 2881 | log.i nfo("isRef illable: " +slurperre sponse.pre scriptionL ist.isRefi llable[i]. toString() ) | |
| 2882 | log.i nfo("isTra ckable: "+ slurperres ponse.pres criptionLi st.isTrack able[i].to String()) | |
| 2883 | log.i nfo("presc riptionId: "+slurper response.p rescriptio nList.pres criptionId [i].toStri ng()) | |
| 2884 | log.i nfo("order edDate: "+ slurperres ponse.pres criptionLi st.ordered Date[i].to String()) | |
| 2885 | log.i nfo("quant ity: "+slu rperrespon se.prescri ptionList. quantity[i ].toString ()) | |
| 2886 | log.i nfo("expir ationDate: "+slurper response.p rescriptio nList.expi rationDate [i].toStri ng()) | |
| 2887 | log.i nfo("stati onNumber: "+slurperr esponse.pr escription List.stati onNumber[i ].toString ()) | |
| 2888 | ||
| 2889 | i+ + | |
| 2890 | } | |
| 2891 | ||
| 2892 | </script> | |
| 2893 | </con:conf ig> | |
| 2894 | </con:test Step> | |
| 2895 | <con:prope rties/> | |
| 2896 | </con:test Case> | |
| 2897 | <con:testC ase | |
| 2898 | id="12ee25 68-198c-47 28-8ac9-7d b9db633201 " | |
| 2899 | failOnErro r="true" | |
| 2900 | failTestCa seOnErrors ="true" | |
| 2901 | keepSessio n="false" | |
| 2902 | maxResults ="0" | |
| 2903 | name="Get Historical Rx" | |
| 2904 | searchProp erties="tr ue" | |
| 2905 | > | |
| 2906 | <con:setti ngs/> | |
| 2907 | <con:testS tep | |
| 2908 | type="rest request" | |
| 2909 | name="Crea te Session " | |
| 2910 | id="c6f91d 1d-60b5-44 d0-b92a-91 b6d067a29d " | |
| 2911 | > | |
| 2912 | <con:setti ngs/> | |
| 2913 | <con:confi g | |
| 2914 | service="R x Refill A PI" | |
| 2915 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 2916 | methodName ="Session" | |
| 2917 | xsi:type=" con:RestRe questStep" | |
| 2918 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 2919 | > | |
| 2920 | <con:restR equest | |
| 2921 | name="Crea te Session " | |
| 2922 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 2923 | mediaType= "applicati on/json" | |
| 2924 | postQueryS tring="fal se" | |
| 2925 | > | |
| 2926 | <con:setti ngs> | |
| 2927 | <con:setti ng | |
| 2928 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 2929 | > | |
| 2930 | <entry key="Accep t" value=" applicatio n/json" xm lns="http: //eviware. com/soapui /config"/> | |
| 2931 | </con:sett ing> | |
| 2932 | </con:sett ings> | |
| 2933 | <con:endpo int> | |
| 2934 | http://DNS .DNS :80 80/ | |
| 2935 | </con:endp oint> | |
| 2936 | <con:reque st/> | |
| 2937 | <con:origi nalUri> | |
| 2938 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 2939 | </con:orig inalUri> | |
| 2940 | <con:crede ntials> | |
| 2941 | <con:authT ype> | |
| 2942 | No Authori zation | |
| 2943 | </con:auth Type> | |
| 2944 | </con:cred entials> | |
| 2945 | <con:jmsCo nfig | |
| 2946 | JMSDeliver yMode="PER SISTENT" | |
| 2947 | /> | |
| 2948 | <con:jmsPr opertyConf ig/> | |
| 2949 | <con:param eters> | |
| 2950 | <entry | |
| 2951 | key="patie ntid" | |
| 2952 | value="745 926" | |
| 2953 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 2954 | /> | |
| 2955 | </con:para meters> | |
| 2956 | <con:param eterOrder> | |
| 2957 | <con:entry > | |
| 2958 | patientid | |
| 2959 | </con:entr y> | |
| 2960 | </con:para meterOrder > | |
| 2961 | </con:rest Request> | |
| 2962 | </con:conf ig> | |
| 2963 | </con:test Step> | |
| 2964 | <con:testS tep | |
| 2965 | type="groo vy" | |
| 2966 | name="Set session va riables" | |
| 2967 | id="b74271 c1-79a0-42 0c-a585-68 8d30529a90 " | |
| 2968 | > | |
| 2969 | <con:setti ngs/> | |
| 2970 | <con:confi g> | |
| 2971 | <script> | |
| 2972 | import gro ovy.json.J sonSlurper | |
| 2973 | ||
| 2974 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Cre ate Sessio n").getPro pertyValue ("response ") | |
| 2975 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 2976 | ||
| 2977 | def token = slurperr esponse.to ken | |
| 2978 | def expire s = slurpe rresponse. expiresDat e | |
| 2979 | ||
| 2980 | testRunner .testCase. setPropert yValue("To ken",token ) | |
| 2981 | ||
| 2982 | log.info(" Session to ken: "+tok en.toStrin g()) | |
| 2983 | log.info(" Token expi res: "+exp ires.toStr ing()) | |
| 2984 | ||
| 2985 | assert (to ken.length ()) > 0 | |
| 2986 | assert (ex pires.leng th()) > 0 | |
| 2987 | </script> | |
| 2988 | </con:conf ig> | |
| 2989 | </con:test Step> | |
| 2990 | <con:testS tep | |
| 2991 | type="rest request" | |
| 2992 | name="Get Historical " | |
| 2993 | id="6dbea1 36-54b4-4a 2c-b353-b5 7970cea171 " | |
| 2994 | > | |
| 2995 | <con:setti ngs/> | |
| 2996 | <con:confi g | |
| 2997 | service="R x Refill A PI" | |
| 2998 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/hist oric" | |
| 2999 | methodName ="Historic Rx" | |
| 3000 | xsi:type=" con:RestRe questStep" | |
| 3001 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 3002 | > | |
| 3003 | <con:restR equest | |
| 3004 | name="Get Historical " | |
| 3005 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 3006 | mediaType= "applicati on/json" | |
| 3007 | > | |
| 3008 | <con:setti ngs> | |
| 3009 | <con:setti ng | |
| 3010 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 3011 | > | |
| 3012 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 3013 | <con: entry key= "Token" va lue="${#Te stCase#Tok en}"/> | |
| 3014 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 3015 | </xml-f ragment> | |
| 3016 | </con:sett ing> | |
| 3017 | </con:sett ings> | |
| 3018 | <con:endpo int> | |
| 3019 | http://DNS .DNS :80 80/ | |
| 3020 | </con:endp oint> | |
| 3021 | <con:reque st/> | |
| 3022 | <con:origi nalUri> | |
| 3023 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 3024 | </con:orig inalUri> | |
| 3025 | <con:crede ntials> | |
| 3026 | <con:authT ype> | |
| 3027 | No Authori zation | |
| 3028 | </con:auth Type> | |
| 3029 | </con:cred entials> | |
| 3030 | <con:jmsCo nfig | |
| 3031 | JMSDeliver yMode="PER SISTENT" | |
| 3032 | /> | |
| 3033 | <con:jmsPr opertyConf ig/> | |
| 3034 | <con:param eters/> | |
| 3035 | </con:rest Request> | |
| 3036 | </con:conf ig> | |
| 3037 | </con:test Step> | |
| 3038 | <con:testS tep | |
| 3039 | type="groo vy" | |
| 3040 | name="Log Results" | |
| 3041 | id="242c42 d1-901d-48 1d-973d-4e bfc34380a8 " | |
| 3042 | > | |
| 3043 | <con:setti ngs/> | |
| 3044 | <con:confi g> | |
| 3045 | <script> | |
| 3046 | import gro ovy.json.J sonSlurper | |
| 3047 | ||
| 3048 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Get Historica l").getPro pertyValue ("response ") | |
| 3049 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 3050 | def i = 0 | |
| 3051 | ||
| 3052 | log.info(" Historical Rx Respon se: ") | |
| 3053 | ||
| 3054 | while(slur perrespons e.prescrip tionList.p rescriptio nNumber[i] != null) | |
| 3055 | { | |
| 3056 | de f counter = i + 1 | |
| 3057 | lo g.info("** * Historic al Rx ["+c ounter+"] ***") | |
| 3058 | lo g.info("pr escription Number: "+ slurperres ponse.pres criptionLi st.prescri ptionNumbe r[i].toStr ing()) | |
| 3059 | log.i nfo("presc riptionNam e: "+slurp erresponse .prescript ionList.pr escription Name[i].to String()) | |
| 3060 | lo g.info("re fillStatus : "+slurpe rresponse. prescripti onList.ref illStatus[ i].toStrin g()) | |
| 3061 | log.i nfo("refil lDate: "+s lurperresp onse.presc riptionLis t.refillDa te[i].toSt ring()) | |
| 3062 | log.i nfo("refil lRemaining : "+slurpe rresponse. prescripti onList.ref illRemaini ng[i].toSt ring()) | |
| 3063 | log.i nfo("facil ityName: " +slurperre sponse.pre scriptionL ist.facili tyName[i]. toString() ) | |
| 3064 | log.i nfo("isRef illable: " +slurperre sponse.pre scriptionL ist.isRefi llable[i]. toString() ) | |
| 3065 | log.i nfo("isTra ckable: "+ slurperres ponse.pres criptionLi st.isTrack able[i].to String()) | |
| 3066 | log.i nfo("presc riptionId: "+slurper response.p rescriptio nList.pres criptionId [i].toStri ng()) | |
| 3067 | log.i nfo("order edDate: "+ slurperres ponse.pres criptionLi st.ordered Date[i].to String()) | |
| 3068 | log.i nfo("quant ity: "+slu rperrespon se.prescri ptionList. quantity[i ].toString ()) | |
| 3069 | log.i nfo("expir ationDate: "+slurper response.p rescriptio nList.expi rationDate [i].toStri ng()) | |
| 3070 | log.i nfo("stati onNumber: "+slurperr esponse.pr escription List.stati onNumber[i ].toString ()) | |
| 3071 | ||
| 3072 | i+ + | |
| 3073 | } | |
| 3074 | </script> | |
| 3075 | </con:conf ig> | |
| 3076 | </con:test Step> | |
| 3077 | <con:prope rties/> | |
| 3078 | </con:test Case> | |
| 3079 | <con:testC ase | |
| 3080 | id="dd2e1b fe-53a6-4a 69-9c15-db e92cda7834 " | |
| 3081 | failOnErro r="true" | |
| 3082 | failTestCa seOnErrors ="true" | |
| 3083 | keepSessio n="false" | |
| 3084 | maxResults ="0" | |
| 3085 | name="Get Prescripti on Trackin g Details" | |
| 3086 | searchProp erties="tr ue" | |
| 3087 | > | |
| 3088 | <con:setti ngs/> | |
| 3089 | <con:testS tep | |
| 3090 | type="rest request" | |
| 3091 | name="Crea te Session " | |
| 3092 | id="75ab23 d9-ecaa-44 58-b550-c4 650213fefe " | |
| 3093 | > | |
| 3094 | <con:setti ngs/> | |
| 3095 | <con:confi g | |
| 3096 | service="R x Refill A PI" | |
| 3097 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 3098 | methodName ="Session" | |
| 3099 | xsi:type=" con:RestRe questStep" | |
| 3100 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 3101 | > | |
| 3102 | <con:restR equest | |
| 3103 | name="Crea te Session " | |
| 3104 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 3105 | mediaType= "applicati on/json" | |
| 3106 | postQueryS tring="fal se" | |
| 3107 | > | |
| 3108 | <con:setti ngs> | |
| 3109 | <con:setti ng | |
| 3110 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 3111 | > | |
| 3112 | <entry key="Accep t" value=" applicatio n/json" xm lns="http: //eviware. com/soapui /config"/> | |
| 3113 | </con:sett ing> | |
| 3114 | </con:sett ings> | |
| 3115 | <con:endpo int> | |
| 3116 | http://DNS .DNS :80 80/ | |
| 3117 | </con:endp oint> | |
| 3118 | <con:reque st/> | |
| 3119 | <con:origi nalUri> | |
| 3120 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 3121 | </con:orig inalUri> | |
| 3122 | <con:crede ntials> | |
| 3123 | <con:authT ype> | |
| 3124 | No Authori zation | |
| 3125 | </con:auth Type> | |
| 3126 | </con:cred entials> | |
| 3127 | <con:jmsCo nfig | |
| 3128 | JMSDeliver yMode="PER SISTENT" | |
| 3129 | /> | |
| 3130 | <con:jmsPr opertyConf ig/> | |
| 3131 | <con:param eters> | |
| 3132 | <entry | |
| 3133 | key="patie ntid" | |
| 3134 | value="745 819" | |
| 3135 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 3136 | /> | |
| 3137 | </con:para meters> | |
| 3138 | <con:param eterOrder> | |
| 3139 | <con:entry > | |
| 3140 | patientid | |
| 3141 | </con:entr y> | |
| 3142 | </con:para meterOrder > | |
| 3143 | </con:rest Request> | |
| 3144 | </con:conf ig> | |
| 3145 | </con:test Step> | |
| 3146 | <con:testS tep | |
| 3147 | type="groo vy" | |
| 3148 | name="Set session va riables" | |
| 3149 | id="0a5407 5d-9e8f-41 38-a48b-96 4422104cdb " | |
| 3150 | > | |
| 3151 | <con:setti ngs/> | |
| 3152 | <con:confi g> | |
| 3153 | <script> | |
| 3154 | import gro ovy.json.J sonSlurper | |
| 3155 | ||
| 3156 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Cre ate Sessio n").getPro pertyValue ("response ") | |
| 3157 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 3158 | ||
| 3159 | def token = slurperr esponse.to ken | |
| 3160 | def expire s = slurpe rresponse. expiresDat e | |
| 3161 | ||
| 3162 | testRunner .testCase. setPropert yValue("To ken",token ) | |
| 3163 | ||
| 3164 | log.info(" Session to ken: "+tok en.toStrin g()) | |
| 3165 | log.info(" Token expi res: "+exp ires.toStr ing()) | |
| 3166 | ||
| 3167 | assert (to ken.length ()) > 0 | |
| 3168 | assert (ex pires.leng th()) > 0 | |
| 3169 | </script> | |
| 3170 | </con:conf ig> | |
| 3171 | </con:test Step> | |
| 3172 | <con:testS tep | |
| 3173 | type="rest request" | |
| 3174 | name="Get Tracking D etails" | |
| 3175 | id="70149c 15-ed08-4e b1-ab7a-15 c8ff77e001 " | |
| 3176 | > | |
| 3177 | <con:setti ngs/> | |
| 3178 | <con:confi g | |
| 3179 | service="R x Refill A PI" | |
| 3180 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/trac king/{rxid }" | |
| 3181 | methodName ="Rx Track ing Detail s" | |
| 3182 | xsi:type=" con:RestRe questStep" | |
| 3183 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 3184 | > | |
| 3185 | <con:restR equest | |
| 3186 | name="Get Tracking D etails" | |
| 3187 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 3188 | mediaType= "applicati on/json" | |
| 3189 | > | |
| 3190 | <con:setti ngs> | |
| 3191 | <con:setti ng | |
| 3192 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 3193 | > | |
| 3194 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 3195 | <con: entry key= "Token" va lue="${#Te stCase#Tok en}"/> | |
| 3196 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 3197 | </xml-f ragment> | |
| 3198 | </con:sett ing> | |
| 3199 | </con:sett ings> | |
| 3200 | <con:endpo int> | |
| 3201 | http://DNS .DNS :80 80/ | |
| 3202 | </con:endp oint> | |
| 3203 | <con:reque st/> | |
| 3204 | <con:origi nalUri> | |
| 3205 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 3206 | </con:orig inalUri> | |
| 3207 | <con:crede ntials> | |
| 3208 | <con:authT ype> | |
| 3209 | No Authori zation | |
| 3210 | </con:auth Type> | |
| 3211 | </con:cred entials> | |
| 3212 | <con:jmsCo nfig | |
| 3213 | JMSDeliver yMode="PER SISTENT" | |
| 3214 | /> | |
| 3215 | <con:jmsPr opertyConf ig/> | |
| 3216 | <con:param eters> | |
| 3217 | <entry | |
| 3218 | key="rxid" | |
| 3219 | value="826 937" | |
| 3220 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 3221 | /> | |
| 3222 | </con:para meters> | |
| 3223 | </con:rest Request> | |
| 3224 | </con:conf ig> | |
| 3225 | </con:test Step> | |
| 3226 | <con:testS tep | |
| 3227 | type="groo vy" | |
| 3228 | name="Log Results" | |
| 3229 | id="3d2b84 ed-5703-4c 83-9119-29 332148f041 " | |
| 3230 | > | |
| 3231 | <con:setti ngs/> | |
| 3232 | <con:confi g> | |
| 3233 | <script> | |
| 3234 | import gro ovy.json.J sonSlurper | |
| 3235 | ||
| 3236 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Get Tracking Details"). getPropert yValue("re sponse") | |
| 3237 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 3238 | ||
| 3239 | log.info(" Tracking R x Details Response: ") | |
| 3240 | ||
| 3241 | log.info(" *** Tracki ng Rx Deta ils ***") | |
| 3242 | ||
| 3243 | log.info(" prescripti onNumber: "+slurperr esponse.pr escription Number.toS tring()) | |
| 3244 | log.info(" prescripti onName: "+ slurperres ponse.pres criptionNa me.toStrin g()) | |
| 3245 | log.info(" rxInfoPhon eNumber: " +slurperre sponse.rxI nfoPhoneNu mber.toStr ing()) | |
| 3246 | log.info(" ndcNumber: "+slurper response.n dcNumber.t oString()) | |
| 3247 | ||
| 3248 | def i = 0 | |
| 3249 | while(slur perrespons e.tracking Info.track ingNumber[ i] != null ) | |
| 3250 | { | |
| 3251 | de f counter = i + 1 | |
| 3252 | lo g.info("** * Tracking Info ["+c ounter+"] ***") | |
| 3253 | lo g.info("tr ackingNumb er: "+slur perrespons e.tracking Info.track ingNumber[ i].toStrin g()) | |
| 3254 | lo g.info("de liveryServ ice: "+slu rperrespon se.trackin gInfo.deli veryServic e[i].toStr ing()) | |
| 3255 | log.i nfo("shipp edDate: "+ slurperres ponse.trac kingInfo.s hippedDate [i].toStri ng()) | |
| 3256 | ||
| 3257 | de f x = 0 | |
| 3258 | wh ile(slurpe rresponse. trackingIn fo.otherPr escription ListInclud ed[i].pres criptionNu mber[x] != null) | |
| 3259 | { | |
| 3260 | def xcounter = x + 1 | |
| 3261 | log. info("*** Other Pres cription L ist Includ ed ["+xcou nter+"] ** *") | |
| 3262 | log. info("pres criptionNu mber: "+sl urperrespo nse.tracki ngInfo.oth erPrescrip tionListIn cluded[i]. prescripti onNumber[x ].toString ()) | |
| 3263 | log. info("pres criptionNa me: "+slur perrespons e.tracking Info.other Prescripti onListIncl uded[i].pr escription Name[x].to String()) | |
| 3264 | log. info("ndcN umber: "+s lurperresp onse.track ingInfo.ot herPrescri ptionListI ncluded[i] .ndcNumber [x].toStri ng()) | |
| 3265 | log. info("stat ionNumber: "+slurper response.t rackingInf o.otherPre scriptionL istInclude d[i].stati onNumber[x ].toString ()) | |
| 3266 | x++ | |
| 3267 | } | |
| 3268 | i+ + | |
| 3269 | } | |
| 3270 | </script> | |
| 3271 | </con:conf ig> | |
| 3272 | </con:test Step> | |
| 3273 | <con:prope rties/> | |
| 3274 | </con:test Case> | |
| 3275 | <con:testC ase | |
| 3276 | id="bc88b7 a1-78a2-48 7d-95bd-c8 5c6ffb75f6 " | |
| 3277 | failOnErro r="true" | |
| 3278 | failTestCa seOnErrors ="true" | |
| 3279 | keepSessio n="false" | |
| 3280 | maxResults ="0" | |
| 3281 | name="Rx R efill" | |
| 3282 | searchProp erties="tr ue" | |
| 3283 | > | |
| 3284 | <con:setti ngs/> | |
| 3285 | <con:testS tep | |
| 3286 | type="rest request" | |
| 3287 | name="Crea te Session " | |
| 3288 | id="339464 b5-9ccc-47 e5-ad65-60 993e2fd737 " | |
| 3289 | > | |
| 3290 | <con:setti ngs/> | |
| 3291 | <con:confi g | |
| 3292 | service="R x Refill A PI" | |
| 3293 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 3294 | methodName ="Session" | |
| 3295 | xsi:type=" con:RestRe questStep" | |
| 3296 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 3297 | > | |
| 3298 | <con:restR equest | |
| 3299 | name="Crea te Session " | |
| 3300 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 3301 | mediaType= "applicati on/json" | |
| 3302 | postQueryS tring="fal se" | |
| 3303 | > | |
| 3304 | <con:setti ngs> | |
| 3305 | <con:setti ng | |
| 3306 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 3307 | > | |
| 3308 | <entry key="Accep t" value=" applicatio n/json" xm lns="http: //eviware. com/soapui /config"/> | |
| 3309 | </con:sett ing> | |
| 3310 | </con:sett ings> | |
| 3311 | <con:endpo int> | |
| 3312 | http://DNS DNS :808 0/ | |
| 3313 | </con:endp oint> | |
| 3314 | <con:reque st/> | |
| 3315 | <con:origi nalUri> | |
| 3316 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 3317 | </con:orig inalUri> | |
| 3318 | <con:crede ntials> | |
| 3319 | <con:authT ype> | |
| 3320 | No Authori zation | |
| 3321 | </con:auth Type> | |
| 3322 | </con:cred entials> | |
| 3323 | <con:jmsCo nfig | |
| 3324 | JMSDeliver yMode="PER SISTENT" | |
| 3325 | /> | |
| 3326 | <con:jmsPr opertyConf ig/> | |
| 3327 | <con:param eters> | |
| 3328 | <entry | |
| 3329 | key="patie ntid" | |
| 3330 | value="864 673" | |
| 3331 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 3332 | /> | |
| 3333 | </con:para meters> | |
| 3334 | <con:param eterOrder> | |
| 3335 | <con:entry > | |
| 3336 | patientid | |
| 3337 | </con:entr y> | |
| 3338 | </con:para meterOrder > | |
| 3339 | </con:rest Request> | |
| 3340 | </con:conf ig> | |
| 3341 | </con:test Step> | |
| 3342 | <con:testS tep | |
| 3343 | type="groo vy" | |
| 3344 | name="Set session va riables" | |
| 3345 | id="d0746d 2b-6dae-4a 59-866c-27 96f3550d9c " | |
| 3346 | > | |
| 3347 | <con:setti ngs/> | |
| 3348 | <con:confi g> | |
| 3349 | <script> | |
| 3350 | import gro ovy.json.J sonSlurper | |
| 3351 | ||
| 3352 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Cre ate Sessio n").getPro pertyValue ("response ") | |
| 3353 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 3354 | ||
| 3355 | def token = slurperr esponse.to ken | |
| 3356 | def expire s = slurpe rresponse. expiresDat e | |
| 3357 | ||
| 3358 | testRunner .testCase. setPropert yValue("To ken",token ) | |
| 3359 | ||
| 3360 | log.info(" Session to ken: "+tok en.toStrin g()) | |
| 3361 | log.info(" Token expi res: "+exp ires.toStr ing()) | |
| 3362 | ||
| 3363 | assert (to ken.length ()) > 0 | |
| 3364 | assert (ex pires.leng th()) > 0 | |
| 3365 | </script> | |
| 3366 | </con:conf ig> | |
| 3367 | </con:test Step> | |
| 3368 | <con:testS tep | |
| 3369 | type="rest request" | |
| 3370 | name="Refi ll Request " | |
| 3371 | id="9568fc e9-285e-40 bb-b2a9-0e 60f27a12cb " | |
| 3372 | > | |
| 3373 | <con:setti ngs/> | |
| 3374 | <con:confi g | |
| 3375 | service="R x Refill A PI" | |
| 3376 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /prescript ion/{rxid} " | |
| 3377 | methodName ="Rx Refil l Request" | |
| 3378 | xsi:type=" con:RestRe questStep" | |
| 3379 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 3380 | > | |
| 3381 | <con:restR equest | |
| 3382 | name="Refi ll Request " | |
| 3383 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 3384 | mediaType= "applicati on/json" | |
| 3385 | postQueryS tring="fal se" | |
| 3386 | > | |
| 3387 | <con:setti ngs> | |
| 3388 | <con:setti ng | |
| 3389 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 3390 | > | |
| 3391 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 3392 | <con: entry key= "Token" va lue="${#Te stCase#Tok en}"/> | |
| 3393 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 3394 | </xml-f ragment> | |
| 3395 | </con:sett ing> | |
| 3396 | </con:sett ings> | |
| 3397 | <con:endpo int> | |
| 3398 | http://DNS .DNS :80 80/ | |
| 3399 | </con:endp oint> | |
| 3400 | <con:reque st/> | |
| 3401 | <con:origi nalUri> | |
| 3402 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 3403 | </con:orig inalUri> | |
| 3404 | <con:asser tion | |
| 3405 | type="Vali d HTTP Sta tus Codes" | |
| 3406 | id="3ba917 ed-a008-4a 01-869d-99 95f8d05171 " | |
| 3407 | name="Vali d HTTP Sta tus Codes" | |
| 3408 | > | |
| 3409 | <con:confi guration> | |
| 3410 | <codes> | |
| 3411 | 200 | |
| 3412 | </codes> | |
| 3413 | </con:conf iguration> | |
| 3414 | </con:asse rtion> | |
| 3415 | <con:crede ntials> | |
| 3416 | <con:authT ype> | |
| 3417 | No Authori zation | |
| 3418 | </con:auth Type> | |
| 3419 | </con:cred entials> | |
| 3420 | <con:jmsCo nfig | |
| 3421 | JMSDeliver yMode="PER SISTENT" | |
| 3422 | /> | |
| 3423 | <con:jmsPr opertyConf ig/> | |
| 3424 | <con:param eters> | |
| 3425 | ||
| 3426 | <con:entry | |
| 3427 | key="rxid" | |
| 3428 | value="864 716" | |
| 3429 | /> | |
| 3430 | ||
| 3431 | <con:entry | |
| 3432 | key="appSo urce" | |
| 3433 | value="rxr " | |
| 3434 | /> | |
| 3435 | </con:para meters> | |
| 3436 | </con:rest Request> | |
| 3437 | </con:conf ig> | |
| 3438 | </con:test Step> | |
| 3439 | <con:prope rties> | |
| 3440 | <con:prope rty> | |
| 3441 | <con:name> | |
| 3442 | Token | |
| 3443 | </con:name > | |
| 3444 | <con:value > | |
| 3445 | ghngWWs51d A=tDDjOVmt 9iuNf0wKh3 6C2haxF+T6 ojuxHA2yBK 8bw00= | |
| 3446 | </con:valu e> | |
| 3447 | </con:prop erty> | |
| 3448 | </con:prop erties> | |
| 3449 | </con:test Case> | |
| 3450 | <con:testC ase | |
| 3451 | id="d198e0 08-f8b0-44 32-bd45-b1 c97536e8e1 " | |
| 3452 | failOnErro r="true" | |
| 3453 | failTestCa seOnErrors ="true" | |
| 3454 | keepSessio n="false" | |
| 3455 | maxResults ="0" | |
| 3456 | name="Test Get Sessi on Fault 1 05" | |
| 3457 | searchProp erties="tr ue" | |
| 3458 | > | |
| 3459 | <con:setti ngs/> | |
| 3460 | <con:testS tep | |
| 3461 | type="rest request" | |
| 3462 | name="Get Session" | |
| 3463 | id="24f7ec 56-b3e9-4e 14-b63e-b0 a5eab7d3a0 " | |
| 3464 | > | |
| 3465 | <con:setti ngs/> | |
| 3466 | <con:confi g | |
| 3467 | service="R x Refill A PI" | |
| 3468 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 3469 | methodName ="Session" | |
| 3470 | xsi:type=" con:RestRe questStep" | |
| 3471 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 3472 | > | |
| 3473 | <con:restR equest | |
| 3474 | name="Get Session" | |
| 3475 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 3476 | mediaType= "applicati on/json" | |
| 3477 | postQueryS tring="fal se" | |
| 3478 | > | |
| 3479 | <con:setti ngs> | |
| 3480 | <con:setti ng | |
| 3481 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 3482 | > | |
| 3483 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 3484 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 3485 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 3486 | </xml-f ragment> | |
| 3487 | </con:sett ing> | |
| 3488 | </con:sett ings> | |
| 3489 | <con:endpo int> | |
| 3490 | http://loc alhost:808 0 | |
| 3491 | </con:endp oint> | |
| 3492 | <con:reque st/> | |
| 3493 | <con:origi nalUri> | |
| 3494 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 3495 | </con:orig inalUri> | |
| 3496 | <con:crede ntials> | |
| 3497 | <con:authT ype> | |
| 3498 | No Authori zation | |
| 3499 | </con:auth Type> | |
| 3500 | </con:cred entials> | |
| 3501 | <con:jmsCo nfig | |
| 3502 | JMSDeliver yMode="PER SISTENT" | |
| 3503 | /> | |
| 3504 | <con:jmsPr opertyConf ig/> | |
| 3505 | <con:param eters> | |
| 3506 | <entry | |
| 3507 | key="patie ntid" | |
| 3508 | value="999 999" | |
| 3509 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 3510 | /> | |
| 3511 | </con:para meters> | |
| 3512 | <con:param eterOrder> | |
| 3513 | <con:entry > | |
| 3514 | patientid | |
| 3515 | </con:entr y> | |
| 3516 | </con:para meterOrder > | |
| 3517 | </con:rest Request> | |
| 3518 | </con:conf ig> | |
| 3519 | </con:test Step> | |
| 3520 | <con:testS tep | |
| 3521 | type="groo vy" | |
| 3522 | name="Log Results" | |
| 3523 | id="d189bb e9-9a98-43 7e-b85f-6f 6c3c64f35f " | |
| 3524 | > | |
| 3525 | <con:setti ngs/> | |
| 3526 | <con:confi g> | |
| 3527 | <script> | |
| 3528 | import gro ovy.json.J sonSlurper | |
| 3529 | ||
| 3530 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Get Session") .getProper tyValue("r esponse") | |
| 3531 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 3532 | ||
| 3533 | def status = slurper response.s tatus | |
| 3534 | def errorC ode = slur perrespons e.errorCod e | |
| 3535 | def messag e = slurpe rresponse. message | |
| 3536 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 3537 | ||
| 3538 | log.info(" Status: "+ status.toS tring()) | |
| 3539 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 3540 | log.info(" Message: " +message.t oString()) | |
| 3541 | log.info(" Developer Message: " +developer Message.to String()) | |
| 3542 | ||
| 3543 | assert sta tus == 400 | |
| 3544 | </script> | |
| 3545 | </con:conf ig> | |
| 3546 | </con:test Step> | |
| 3547 | <con:prope rties/> | |
| 3548 | </con:test Case> | |
| 3549 | <con:testC ase | |
| 3550 | id="c2f6ff 17-0551-47 74-ad97-a1 f6aff8b054 " | |
| 3551 | failOnErro r="true" | |
| 3552 | failTestCa seOnErrors ="true" | |
| 3553 | keepSessio n="false" | |
| 3554 | maxResults ="0" | |
| 3555 | name="Test Get Sessi on Fault 1 35" | |
| 3556 | searchProp erties="tr ue" | |
| 3557 | > | |
| 3558 | <con:setti ngs/> | |
| 3559 | <con:testS tep | |
| 3560 | type="rest request" | |
| 3561 | name="Get Session" | |
| 3562 | id="4258a3 54-5b3c-46 32-b77a-17 2803840b62 " | |
| 3563 | > | |
| 3564 | <con:setti ngs/> | |
| 3565 | <con:confi g | |
| 3566 | service="R x Refill A PI" | |
| 3567 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 3568 | methodName ="Session" | |
| 3569 | xsi:type=" con:RestRe questStep" | |
| 3570 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 3571 | > | |
| 3572 | <con:restR equest | |
| 3573 | name="Get Session" | |
| 3574 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 3575 | mediaType= "applicati on/json" | |
| 3576 | postQueryS tring="fal se" | |
| 3577 | > | |
| 3578 | <con:setti ngs> | |
| 3579 | <con:setti ng | |
| 3580 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 3581 | > | |
| 3582 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 3583 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 3584 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 3585 | </xml-f ragment> | |
| 3586 | </con:sett ing> | |
| 3587 | </con:sett ings> | |
| 3588 | <con:endpo int> | |
| 3589 | http://DNS .DNS :80 80/ | |
| 3590 | </con:endp oint> | |
| 3591 | <con:reque st/> | |
| 3592 | <con:origi nalUri> | |
| 3593 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 3594 | </con:orig inalUri> | |
| 3595 | <con:crede ntials> | |
| 3596 | <con:authT ype> | |
| 3597 | No Authori zation | |
| 3598 | </con:auth Type> | |
| 3599 | </con:cred entials> | |
| 3600 | <con:jmsCo nfig | |
| 3601 | JMSDeliver yMode="PER SISTENT" | |
| 3602 | /> | |
| 3603 | <con:jmsPr opertyConf ig/> | |
| 3604 | <con:param eters> | |
| 3605 | <entry | |
| 3606 | key="patie ntid" | |
| 3607 | value="824 270" | |
| 3608 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 3609 | /> | |
| 3610 | </con:para meters> | |
| 3611 | <con:param eterOrder> | |
| 3612 | <con:entry > | |
| 3613 | patientid | |
| 3614 | </con:entr y> | |
| 3615 | </con:para meterOrder > | |
| 3616 | </con:rest Request> | |
| 3617 | </con:conf ig> | |
| 3618 | </con:test Step> | |
| 3619 | <con:testS tep | |
| 3620 | type="groo vy" | |
| 3621 | name="Log Results" | |
| 3622 | id="2f6111 e1-e698-4f e2-bfef-72 59b0793f82 " | |
| 3623 | > | |
| 3624 | <con:setti ngs/> | |
| 3625 | <con:confi g> | |
| 3626 | <script> | |
| 3627 | import gro ovy.json.J sonSlurper | |
| 3628 | ||
| 3629 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Get Session") .getProper tyValue("r esponse") | |
| 3630 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 3631 | ||
| 3632 | def status = slurper response.s tatus | |
| 3633 | def errorC ode = slur perrespons e.errorCod e | |
| 3634 | def messag e = slurpe rresponse. message | |
| 3635 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 3636 | ||
| 3637 | log.info(" Status: "+ status.toS tring()) | |
| 3638 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 3639 | log.info(" Message: " +message.t oString()) | |
| 3640 | log.info(" Developer Message: " +developer Message.to String()) | |
| 3641 | ||
| 3642 | assert sta tus == 400 | |
| 3643 | </script> | |
| 3644 | </con:conf ig> | |
| 3645 | </con:test Step> | |
| 3646 | <con:prope rties/> | |
| 3647 | </con:test Case> | |
| 3648 | <con:testC ase | |
| 3649 | id="1ac2d1 31-7fe0-4e ee-80ca-59 b9fa68d83b " | |
| 3650 | failOnErro r="true" | |
| 3651 | failTestCa seOnErrors ="true" | |
| 3652 | keepSessio n="false" | |
| 3653 | maxResults ="0" | |
| 3654 | name="Test Get Activ e Rx Fault 109" | |
| 3655 | searchProp erties="tr ue" | |
| 3656 | > | |
| 3657 | <con:setti ngs/> | |
| 3658 | <con:testS tep | |
| 3659 | type="rest request" | |
| 3660 | name="Crea te Session " | |
| 3661 | id="1183db 31-8b03-45 3c-b613-e7 1c08691741 " | |
| 3662 | > | |
| 3663 | <con:setti ngs/> | |
| 3664 | <con:confi g | |
| 3665 | service="R x Refill A PI" | |
| 3666 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 3667 | methodName ="Session" | |
| 3668 | xsi:type=" con:RestRe questStep" | |
| 3669 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 3670 | > | |
| 3671 | <con:restR equest | |
| 3672 | name="Crea te Session " | |
| 3673 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 3674 | mediaType= "applicati on/json" | |
| 3675 | postQueryS tring="fal se" | |
| 3676 | > | |
| 3677 | <con:setti ngs> | |
| 3678 | <con:setti ng | |
| 3679 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 3680 | > | |
| 3681 | <entry key="Accep t" value=" applicatio n/json" xm lns="http: //eviware. com/soapui /config"/> | |
| 3682 | </con:sett ing> | |
| 3683 | </con:sett ings> | |
| 3684 | <con:endpo int> | |
| 3685 | http://DNS .DNS :80 80/ | |
| 3686 | </con:endp oint> | |
| 3687 | <con:reque st/> | |
| 3688 | <con:origi nalUri> | |
| 3689 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 3690 | </con:orig inalUri> | |
| 3691 | <con:crede ntials> | |
| 3692 | <con:authT ype> | |
| 3693 | No Authori zation | |
| 3694 | </con:auth Type> | |
| 3695 | </con:cred entials> | |
| 3696 | <con:jmsCo nfig | |
| 3697 | JMSDeliver yMode="PER SISTENT" | |
| 3698 | /> | |
| 3699 | <con:jmsPr opertyConf ig/> | |
| 3700 | <con:param eters> | |
| 3701 | <entry | |
| 3702 | key="patie ntid" | |
| 3703 | value="864 673" | |
| 3704 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 3705 | /> | |
| 3706 | </con:para meters> | |
| 3707 | <con:param eterOrder> | |
| 3708 | <con:entry > | |
| 3709 | patientid | |
| 3710 | </con:entr y> | |
| 3711 | </con:para meterOrder > | |
| 3712 | </con:rest Request> | |
| 3713 | </con:conf ig> | |
| 3714 | </con:test Step> | |
| 3715 | <con:testS tep | |
| 3716 | type="groo vy" | |
| 3717 | name="Set session va riables" | |
| 3718 | id="ac28ab 6c-2935-41 14-868e-7a e4ad867ee9 " | |
| 3719 | > | |
| 3720 | <con:setti ngs/> | |
| 3721 | <con:confi g> | |
| 3722 | <script> | |
| 3723 | import gro ovy.json.J sonSlurper | |
| 3724 | ||
| 3725 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Cre ate Sessio n").getPro pertyValue ("response ") | |
| 3726 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 3727 | ||
| 3728 | def token = slurperr esponse.to ken | |
| 3729 | def expire s = slurpe rresponse. expiresDat e | |
| 3730 | ||
| 3731 | log.info(" Removing t oken to te st Fault 1 09") | |
| 3732 | testRunner .testCase. setPropert yValue("To ken","") | |
| 3733 | ||
| 3734 | ||
| 3735 | ||
| 3736 | ||
| 3737 | </script> | |
| 3738 | </con:conf ig> | |
| 3739 | </con:test Step> | |
| 3740 | <con:testS tep | |
| 3741 | type="rest request" | |
| 3742 | name="Get Active" | |
| 3743 | id="748359 64-694e-41 ed-845a-51 e275c32bca " | |
| 3744 | > | |
| 3745 | <con:setti ngs/> | |
| 3746 | <con:confi g | |
| 3747 | service="R x Refill A PI" | |
| 3748 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/acti ve" | |
| 3749 | methodName ="Active R x" | |
| 3750 | xsi:type=" con:RestRe questStep" | |
| 3751 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 3752 | > | |
| 3753 | <con:restR equest | |
| 3754 | name="Get Active" | |
| 3755 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 3756 | mediaType= "applicati on/json" | |
| 3757 | > | |
| 3758 | <con:setti ngs> | |
| 3759 | <con:setti ng | |
| 3760 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 3761 | > | |
| 3762 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 3763 | <con: entry key= "Token" va lue="${#Te stCase#Tok en}"/> | |
| 3764 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 3765 | </xml-f ragment> | |
| 3766 | </con:sett ing> | |
| 3767 | </con:sett ings> | |
| 3768 | <con:endpo int> | |
| 3769 | http://DNS .DNS :80 80/ | |
| 3770 | </con:endp oint> | |
| 3771 | <con:reque st/> | |
| 3772 | <con:origi nalUri> | |
| 3773 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 3774 | </con:orig inalUri> | |
| 3775 | <con:crede ntials> | |
| 3776 | <con:authT ype> | |
| 3777 | No Authori zation | |
| 3778 | </con:auth Type> | |
| 3779 | </con:cred entials> | |
| 3780 | <con:jmsCo nfig | |
| 3781 | JMSDeliver yMode="PER SISTENT" | |
| 3782 | /> | |
| 3783 | <con:jmsPr opertyConf ig/> | |
| 3784 | <con:param eters/> | |
| 3785 | </con:rest Request> | |
| 3786 | </con:conf ig> | |
| 3787 | </con:test Step> | |
| 3788 | <con:testS tep | |
| 3789 | type="groo vy" | |
| 3790 | name="Log Results" | |
| 3791 | id="48e1bc b2-a8b3-44 ec-b83e-f3 353e852446 " | |
| 3792 | > | |
| 3793 | <con:setti ngs/> | |
| 3794 | <con:confi g> | |
| 3795 | <script> | |
| 3796 | import gro ovy.json.J sonSlurper | |
| 3797 | ||
| 3798 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Get Active"). getPropert yValue("re sponse") | |
| 3799 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 3800 | def i = 0 | |
| 3801 | ||
| 3802 | log.info(" Active Rx Response: ") | |
| 3803 | ||
| 3804 | log.info(" status: "+ slurperres ponse.stat us.toStrin g()) | |
| 3805 | log.info(" errorCode: "+slurper response.e rrorCode.t oString()) | |
| 3806 | log.info(" message: " +slurperre sponse.mes sage.toStr ing()) | |
| 3807 | log.info(" developerM essage: "+ slurperres ponse.deve loperMessa ge.toStrin g()) | |
| 3808 | ||
| 3809 | </script> | |
| 3810 | </con:conf ig> | |
| 3811 | </con:test Step> | |
| 3812 | <con:prope rties/> | |
| 3813 | </con:test Case> | |
| 3814 | <con:testC ase | |
| 3815 | id="63d30b b9-bc1e-4b 49-9d96-0a 937d4ed042 " | |
| 3816 | failOnErro r="true" | |
| 3817 | failTestCa seOnErrors ="true" | |
| 3818 | keepSessio n="false" | |
| 3819 | maxResults ="0" | |
| 3820 | name="Test Get Activ e Rx Fault 110" | |
| 3821 | searchProp erties="tr ue" | |
| 3822 | > | |
| 3823 | <con:setti ngs/> | |
| 3824 | <con:testS tep | |
| 3825 | type="rest request" | |
| 3826 | name="Get Active" | |
| 3827 | id="bd9c9d 0b-74a7-41 80-a983-1d 54473317fa " | |
| 3828 | > | |
| 3829 | <con:setti ngs/> | |
| 3830 | <con:confi g | |
| 3831 | service="R x Refill A PI" | |
| 3832 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/acti ve" | |
| 3833 | methodName ="Active R x" | |
| 3834 | xsi:type=" con:RestRe questStep" | |
| 3835 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 3836 | > | |
| 3837 | <con:restR equest | |
| 3838 | name="Get Active" | |
| 3839 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 3840 | mediaType= "applicati on/json" | |
| 3841 | > | |
| 3842 | <con:setti ngs> | |
| 3843 | <con:setti ng | |
| 3844 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 3845 | > | |
| 3846 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 3847 | <con: entry key= "Token" va lue="SYm33 k7OOps=Upc hRA/RL/kkd k8lHBfCPXc VTGzDlhkbL xHW5ak7M0A ="/> | |
| 3848 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 3849 | </xml-f ragment> | |
| 3850 | </con:sett ing> | |
| 3851 | </con:sett ings> | |
| 3852 | <con:endpo int> | |
| 3853 | http://DNS .DNS :80 80/ | |
| 3854 | </con:endp oint> | |
| 3855 | <con:reque st/> | |
| 3856 | <con:origi nalUri> | |
| 3857 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 3858 | </con:orig inalUri> | |
| 3859 | <con:crede ntials> | |
| 3860 | <con:authT ype> | |
| 3861 | No Authori zation | |
| 3862 | </con:auth Type> | |
| 3863 | </con:cred entials> | |
| 3864 | <con:jmsCo nfig | |
| 3865 | JMSDeliver yMode="PER SISTENT" | |
| 3866 | /> | |
| 3867 | <con:jmsPr opertyConf ig/> | |
| 3868 | <con:param eters/> | |
| 3869 | </con:rest Request> | |
| 3870 | </con:conf ig> | |
| 3871 | </con:test Step> | |
| 3872 | <con:testS tep | |
| 3873 | type="groo vy" | |
| 3874 | name="Log Results" | |
| 3875 | id="410d25 3c-f45e-49 ec-95fa-f9 621c461c09 " | |
| 3876 | > | |
| 3877 | <con:setti ngs/> | |
| 3878 | <con:confi g> | |
| 3879 | <script> | |
| 3880 | import gro ovy.json.J sonSlurper | |
| 3881 | ||
| 3882 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Get Active"). getPropert yValue("re sponse") | |
| 3883 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 3884 | def i = 0 | |
| 3885 | ||
| 3886 | log.info(" Active Rx Response: ") | |
| 3887 | ||
| 3888 | log.info(" status: "+ slurperres ponse.stat us.toStrin g()) | |
| 3889 | log.info(" errorCode: "+slurper response.e rrorCode.t oString()) | |
| 3890 | log.info(" message: " +slurperre sponse.mes sage.toStr ing()) | |
| 3891 | log.info(" developerM essage: "+ slurperres ponse.deve loperMessa ge.toStrin g()) | |
| 3892 | ||
| 3893 | </script> | |
| 3894 | </con:conf ig> | |
| 3895 | </con:test Step> | |
| 3896 | <con:prope rties/> | |
| 3897 | </con:test Case> | |
| 3898 | <con:testC ase | |
| 3899 | id="889169 47-9d22-4d ac-b6aa-ae 725f58b54c " | |
| 3900 | failOnErro r="true" | |
| 3901 | failTestCa seOnErrors ="true" | |
| 3902 | keepSessio n="false" | |
| 3903 | maxResults ="0" | |
| 3904 | name="Test Rx Refill Fault 136 " | |
| 3905 | searchProp erties="tr ue" | |
| 3906 | > | |
| 3907 | <con:setti ngs/> | |
| 3908 | <con:testS tep | |
| 3909 | type="rest request" | |
| 3910 | name="Crea te Session " | |
| 3911 | id="ef6ed0 87-34a0-4e 0b-a306-36 e2c8e64c68 " | |
| 3912 | > | |
| 3913 | <con:setti ngs/> | |
| 3914 | <con:confi g | |
| 3915 | service="R x Refill A PI" | |
| 3916 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 3917 | methodName ="Session" | |
| 3918 | xsi:type=" con:RestRe questStep" | |
| 3919 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 3920 | > | |
| 3921 | <con:restR equest | |
| 3922 | name="Crea te Session " | |
| 3923 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 3924 | mediaType= "applicati on/json" | |
| 3925 | postQueryS tring="fal se" | |
| 3926 | > | |
| 3927 | <con:setti ngs> | |
| 3928 | <con:setti ng | |
| 3929 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 3930 | > | |
| 3931 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 3932 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 3933 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 3934 | </xml-f ragment> | |
| 3935 | </con:sett ing> | |
| 3936 | </con:sett ings> | |
| 3937 | <con:endpo int> | |
| 3938 | http://DNS .DNS :80 80/ | |
| 3939 | </con:endp oint> | |
| 3940 | <con:reque st/> | |
| 3941 | <con:origi nalUri> | |
| 3942 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 3943 | </con:orig inalUri> | |
| 3944 | <con:crede ntials> | |
| 3945 | <con:authT ype> | |
| 3946 | No Authori zation | |
| 3947 | </con:auth Type> | |
| 3948 | </con:cred entials> | |
| 3949 | <con:jmsCo nfig | |
| 3950 | JMSDeliver yMode="PER SISTENT" | |
| 3951 | /> | |
| 3952 | <con:jmsPr opertyConf ig/> | |
| 3953 | <con:param eters> | |
| 3954 | <entry | |
| 3955 | key="patie ntid" | |
| 3956 | value="745 926" | |
| 3957 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 3958 | /> | |
| 3959 | </con:para meters> | |
| 3960 | <con:param eterOrder> | |
| 3961 | <con:entry > | |
| 3962 | patientid | |
| 3963 | </con:entr y> | |
| 3964 | </con:para meterOrder > | |
| 3965 | </con:rest Request> | |
| 3966 | </con:conf ig> | |
| 3967 | </con:test Step> | |
| 3968 | <con:testS tep | |
| 3969 | type="groo vy" | |
| 3970 | name="Set session va riables" | |
| 3971 | id="2e5412 7a-24c4-4c 75-8d9e-f0 c23b7d92ca " | |
| 3972 | > | |
| 3973 | <con:setti ngs/> | |
| 3974 | <con:confi g> | |
| 3975 | <script> | |
| 3976 | import gro ovy.json.J sonSlurper | |
| 3977 | ||
| 3978 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Cre ate Sessio n").getPro pertyValue ("response ") | |
| 3979 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 3980 | ||
| 3981 | def token = slurperr esponse.to ken | |
| 3982 | def expire s = slurpe rresponse. expiresDat e | |
| 3983 | ||
| 3984 | testRunner .testCase. setPropert yValue("To ken",token ) | |
| 3985 | ||
| 3986 | log.info(" Session to ken: "+tok en.toStrin g()) | |
| 3987 | log.info(" Token expi res: "+exp ires.toStr ing()) | |
| 3988 | ||
| 3989 | assert (to ken.length ()) > 0 | |
| 3990 | assert (ex pires.leng th()) > 0 | |
| 3991 | </script> | |
| 3992 | </con:conf ig> | |
| 3993 | </con:test Step> | |
| 3994 | <con:testS tep | |
| 3995 | type="rest request" | |
| 3996 | name="Refi ll Request " | |
| 3997 | id="354b0a 07-1365-49 c2-be31-5c caee87a27d " | |
| 3998 | > | |
| 3999 | <con:setti ngs/> | |
| 4000 | <con:confi g | |
| 4001 | service="R x Refill A PI" | |
| 4002 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /prescript ion/{rxid} " | |
| 4003 | methodName ="Rx Refil l Request" | |
| 4004 | xsi:type=" con:RestRe questStep" | |
| 4005 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 4006 | > | |
| 4007 | <con:restR equest | |
| 4008 | name="Refi ll Request " | |
| 4009 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 4010 | mediaType= "applicati on/json" | |
| 4011 | postQueryS tring="fal se" | |
| 4012 | > | |
| 4013 | <con:setti ngs> | |
| 4014 | <con:setti ng | |
| 4015 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 4016 | > | |
| 4017 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 4018 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 4019 | <con: entry key= "Token" va lue="${#Te stCase#Tok en}"/> | |
| 4020 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 4021 | </xml-f ragment> | |
| 4022 | </con:sett ing> | |
| 4023 | </con:sett ings> | |
| 4024 | <con:endpo int> | |
| 4025 | http://DNS .DNS :80 80/ | |
| 4026 | </con:endp oint> | |
| 4027 | <con:reque st/> | |
| 4028 | <con:origi nalUri> | |
| 4029 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 4030 | </con:orig inalUri> | |
| 4031 | <con:crede ntials> | |
| 4032 | <con:authT ype> | |
| 4033 | No Authori zation | |
| 4034 | </con:auth Type> | |
| 4035 | </con:cred entials> | |
| 4036 | <con:jmsCo nfig | |
| 4037 | JMSDeliver yMode="PER SISTENT" | |
| 4038 | /> | |
| 4039 | <con:jmsPr opertyConf ig/> | |
| 4040 | <con:param eters> | |
| 4041 | ||
| 4042 | <con:entry | |
| 4043 | key="patie ntid" | |
| 4044 | value="745 926" | |
| 4045 | /> | |
| 4046 | ||
| 4047 | <con:entry | |
| 4048 | key="rxid" | |
| 4049 | value="864 716" | |
| 4050 | /> | |
| 4051 | ||
| 4052 | <con:entry | |
| 4053 | key="appSo urce" | |
| 4054 | value="rxr " | |
| 4055 | /> | |
| 4056 | </con:para meters> | |
| 4057 | </con:rest Request> | |
| 4058 | </con:conf ig> | |
| 4059 | </con:test Step> | |
| 4060 | <con:testS tep | |
| 4061 | type="groo vy" | |
| 4062 | name="Log Results" | |
| 4063 | id="ab9fbe 2b-676f-48 91-ad4c-fe d89ba56b89 " | |
| 4064 | > | |
| 4065 | <con:setti ngs/> | |
| 4066 | <con:confi g> | |
| 4067 | <script> | |
| 4068 | import gro ovy.json.J sonSlurper | |
| 4069 | ||
| 4070 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Ref ill Reques t").getPro pertyValue ("response ") | |
| 4071 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 4072 | def i = 0 | |
| 4073 | ||
| 4074 | log.info(" Rx Refill Response: ") | |
| 4075 | ||
| 4076 | def status = slurper response.s tatus | |
| 4077 | def errorC ode = slur perrespons e.errorCod e | |
| 4078 | def messag e = slurpe rresponse. message | |
| 4079 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 4080 | ||
| 4081 | log.info(" Status: "+ status.toS tring()) | |
| 4082 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 4083 | log.info(" Message: " +message.t oString()) | |
| 4084 | log.info(" Developer Message: " +developer Message.to String()) | |
| 4085 | ||
| 4086 | assert sta tus == 400 | |
| 4087 | </script> | |
| 4088 | </con:conf ig> | |
| 4089 | </con:test Step> | |
| 4090 | <con:prope rties> | |
| 4091 | <con:prope rty> | |
| 4092 | <con:name> | |
| 4093 | Token | |
| 4094 | </con:name > | |
| 4095 | <con:value > | |
| 4096 | skeXbBjHBQ w=b0px7xYt z9hJfbg5+a MTLueX7nlP epg2IgkAM2 MqnU8= | |
| 4097 | </con:valu e> | |
| 4098 | </con:prop erty> | |
| 4099 | </con:prop erties> | |
| 4100 | </con:test Case> | |
| 4101 | <con:testC ase | |
| 4102 | id="bc0f84 5f-9fa7-4c dc-844b-ae 017646f054 " | |
| 4103 | failOnErro r="true" | |
| 4104 | failTestCa seOnErrors ="true" | |
| 4105 | keepSessio n="false" | |
| 4106 | maxResults ="0" | |
| 4107 | name="Test Rx Refill Fault 138 " | |
| 4108 | searchProp erties="tr ue" | |
| 4109 | > | |
| 4110 | <con:setti ngs/> | |
| 4111 | <con:testS tep | |
| 4112 | type="rest request" | |
| 4113 | name="Crea te Session " | |
| 4114 | id="472aad cf-a013-47 23-8c8d-86 dab921177d " | |
| 4115 | > | |
| 4116 | <con:setti ngs/> | |
| 4117 | <con:confi g | |
| 4118 | service="R x Refill A PI" | |
| 4119 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 4120 | methodName ="Session" | |
| 4121 | xsi:type=" con:RestRe questStep" | |
| 4122 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 4123 | > | |
| 4124 | <con:restR equest | |
| 4125 | name="Crea te Session " | |
| 4126 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 4127 | mediaType= "applicati on/json" | |
| 4128 | postQueryS tring="fal se" | |
| 4129 | > | |
| 4130 | <con:setti ngs> | |
| 4131 | <con:setti ng | |
| 4132 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 4133 | > | |
| 4134 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 4135 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 4136 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 4137 | </xml-f ragment> | |
| 4138 | </con:sett ing> | |
| 4139 | </con:sett ings> | |
| 4140 | <con:endpo int> | |
| 4141 | http://DNS .DNS :80 80/ | |
| 4142 | </con:endp oint> | |
| 4143 | <con:reque st/> | |
| 4144 | <con:origi nalUri> | |
| 4145 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 4146 | </con:orig inalUri> | |
| 4147 | <con:crede ntials> | |
| 4148 | <con:authT ype> | |
| 4149 | No Authori zation | |
| 4150 | </con:auth Type> | |
| 4151 | </con:cred entials> | |
| 4152 | <con:jmsCo nfig | |
| 4153 | JMSDeliver yMode="PER SISTENT" | |
| 4154 | /> | |
| 4155 | <con:jmsPr opertyConf ig/> | |
| 4156 | <con:param eters> | |
| 4157 | <entry | |
| 4158 | key="patie ntid" | |
| 4159 | value="745 926" | |
| 4160 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 4161 | /> | |
| 4162 | </con:para meters> | |
| 4163 | <con:param eterOrder> | |
| 4164 | <con:entry > | |
| 4165 | patientid | |
| 4166 | </con:entr y> | |
| 4167 | </con:para meterOrder > | |
| 4168 | </con:rest Request> | |
| 4169 | </con:conf ig> | |
| 4170 | </con:test Step> | |
| 4171 | <con:testS tep | |
| 4172 | type="groo vy" | |
| 4173 | name="Set session va riables" | |
| 4174 | id="cd79c1 0e-edb6-48 a1-bcd1-b0 578fae5fa3 " | |
| 4175 | > | |
| 4176 | <con:setti ngs/> | |
| 4177 | <con:confi g> | |
| 4178 | <script> | |
| 4179 | import gro ovy.json.J sonSlurper | |
| 4180 | ||
| 4181 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Cre ate Sessio n").getPro pertyValue ("response ") | |
| 4182 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 4183 | ||
| 4184 | def token = slurperr esponse.to ken | |
| 4185 | def expire s = slurpe rresponse. expiresDat e | |
| 4186 | ||
| 4187 | testRunner .testCase. setPropert yValue("To ken",token ) | |
| 4188 | ||
| 4189 | log.info(" Session to ken: "+tok en.toStrin g()) | |
| 4190 | log.info(" Token expi res: "+exp ires.toStr ing()) | |
| 4191 | ||
| 4192 | assert (to ken.length ()) > 0 | |
| 4193 | assert (ex pires.leng th()) > 0 | |
| 4194 | </script> | |
| 4195 | </con:conf ig> | |
| 4196 | </con:test Step> | |
| 4197 | <con:testS tep | |
| 4198 | type="rest request" | |
| 4199 | name="Refi ll Request " | |
| 4200 | id="89e849 e1-919b-46 19-8894-9b 790379e3ee " | |
| 4201 | > | |
| 4202 | <con:setti ngs/> | |
| 4203 | <con:confi g | |
| 4204 | service="R x Refill A PI" | |
| 4205 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /prescript ion/{rxid} " | |
| 4206 | methodName ="Rx Refil l Request" | |
| 4207 | xsi:type=" con:RestRe questStep" | |
| 4208 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 4209 | > | |
| 4210 | <con:restR equest | |
| 4211 | name="Refi ll Request " | |
| 4212 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 4213 | mediaType= "applicati on/json" | |
| 4214 | postQueryS tring="fal se" | |
| 4215 | > | |
| 4216 | <con:setti ngs> | |
| 4217 | <con:setti ng | |
| 4218 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 4219 | > | |
| 4220 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 4221 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 4222 | <con: entry key= "Token" va lue="${#Te stCase#Tok en}"/> | |
| 4223 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 4224 | </xml-f ragment> | |
| 4225 | </con:sett ing> | |
| 4226 | </con:sett ings> | |
| 4227 | <con:endpo int> | |
| 4228 | http://DNS .DNS :80 80/ | |
| 4229 | </con:endp oint> | |
| 4230 | <con:reque st/> | |
| 4231 | <con:origi nalUri> | |
| 4232 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 4233 | </con:orig inalUri> | |
| 4234 | <con:crede ntials> | |
| 4235 | <con:authT ype> | |
| 4236 | No Authori zation | |
| 4237 | </con:auth Type> | |
| 4238 | </con:cred entials> | |
| 4239 | <con:jmsCo nfig | |
| 4240 | JMSDeliver yMode="PER SISTENT" | |
| 4241 | /> | |
| 4242 | <con:jmsPr opertyConf ig/> | |
| 4243 | <con:param eters> | |
| 4244 | ||
| 4245 | <con:entry | |
| 4246 | key="patie ntid" | |
| 4247 | value="745 926" | |
| 4248 | /> | |
| 4249 | ||
| 4250 | <con:entry | |
| 4251 | key="rxid" | |
| 4252 | value="000 000" | |
| 4253 | /> | |
| 4254 | ||
| 4255 | <con:entry | |
| 4256 | key="appSo urce" | |
| 4257 | value="rxr " | |
| 4258 | /> | |
| 4259 | </con:para meters> | |
| 4260 | </con:rest Request> | |
| 4261 | </con:conf ig> | |
| 4262 | </con:test Step> | |
| 4263 | <con:testS tep | |
| 4264 | type="groo vy" | |
| 4265 | name="Log Results" | |
| 4266 | id="685c93 45-ad0d-43 ed-ad58-82 97c81de43a " | |
| 4267 | > | |
| 4268 | <con:setti ngs/> | |
| 4269 | <con:confi g> | |
| 4270 | <script> | |
| 4271 | import gro ovy.json.J sonSlurper | |
| 4272 | ||
| 4273 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Ref ill Reques t").getPro pertyValue ("response ") | |
| 4274 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 4275 | def i = 0 | |
| 4276 | ||
| 4277 | log.info(" Rx Refill Response: ") | |
| 4278 | ||
| 4279 | def status = slurper response.s tatus | |
| 4280 | def errorC ode = slur perrespons e.errorCod e | |
| 4281 | def messag e = slurpe rresponse. message | |
| 4282 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 4283 | ||
| 4284 | log.info(" Status: "+ status.toS tring()) | |
| 4285 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 4286 | log.info(" Message: " +message.t oString()) | |
| 4287 | log.info(" Developer Message: " +developer Message.to String()) | |
| 4288 | ||
| 4289 | assert sta tus == 400 | |
| 4290 | </script> | |
| 4291 | </con:conf ig> | |
| 4292 | </con:test Step> | |
| 4293 | <con:prope rties> | |
| 4294 | <con:prope rty> | |
| 4295 | <con:name> | |
| 4296 | Token | |
| 4297 | </con:name > | |
| 4298 | <con:value > | |
| 4299 | skeXbBjHBQ w=b0px7xYt z9hJfbg5+a MTLueX7nlP epg2IgkAM2 MqnU8= | |
| 4300 | </con:valu e> | |
| 4301 | </con:prop erty> | |
| 4302 | </con:prop erties> | |
| 4303 | </con:test Case> | |
| 4304 | <con:testC ase | |
| 4305 | id="7fea5e 10-9d62-46 f3-adf1-6f 1f5cd024ac " | |
| 4306 | failOnErro r="true" | |
| 4307 | failTestCa seOnErrors ="true" | |
| 4308 | keepSessio n="false" | |
| 4309 | maxResults ="0" | |
| 4310 | name="Test Rx Refill Fault 139 " | |
| 4311 | searchProp erties="tr ue" | |
| 4312 | > | |
| 4313 | <con:setti ngs/> | |
| 4314 | <con:testS tep | |
| 4315 | type="rest request" | |
| 4316 | name="Crea te Session " | |
| 4317 | id="248cab df-6fcd-47 70-a809-c6 6b2db677f3 " | |
| 4318 | > | |
| 4319 | <con:setti ngs/> | |
| 4320 | <con:confi g | |
| 4321 | service="R x Refill A PI" | |
| 4322 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 4323 | methodName ="Session" | |
| 4324 | xsi:type=" con:RestRe questStep" | |
| 4325 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 4326 | > | |
| 4327 | <con:restR equest | |
| 4328 | name="Crea te Session " | |
| 4329 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 4330 | mediaType= "applicati on/json" | |
| 4331 | postQueryS tring="fal se" | |
| 4332 | > | |
| 4333 | <con:setti ngs> | |
| 4334 | <con:setti ng | |
| 4335 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 4336 | > | |
| 4337 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 4338 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 4339 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 4340 | </xml-f ragment> | |
| 4341 | </con:sett ing> | |
| 4342 | </con:sett ings> | |
| 4343 | <con:endpo int> | |
| 4344 | http://DNS .DNS :80 80/ | |
| 4345 | </con:endp oint> | |
| 4346 | <con:reque st/> | |
| 4347 | <con:origi nalUri> | |
| 4348 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 4349 | </con:orig inalUri> | |
| 4350 | <con:crede ntials> | |
| 4351 | <con:authT ype> | |
| 4352 | No Authori zation | |
| 4353 | </con:auth Type> | |
| 4354 | </con:cred entials> | |
| 4355 | <con:jmsCo nfig | |
| 4356 | JMSDeliver yMode="PER SISTENT" | |
| 4357 | /> | |
| 4358 | <con:jmsPr opertyConf ig/> | |
| 4359 | <con:param eters> | |
| 4360 | <entry | |
| 4361 | key="patie ntid" | |
| 4362 | value="864 673" | |
| 4363 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 4364 | /> | |
| 4365 | </con:para meters> | |
| 4366 | <con:param eterOrder> | |
| 4367 | <con:entry > | |
| 4368 | patientid | |
| 4369 | </con:entr y> | |
| 4370 | </con:para meterOrder > | |
| 4371 | </con:rest Request> | |
| 4372 | </con:conf ig> | |
| 4373 | </con:test Step> | |
| 4374 | <con:testS tep | |
| 4375 | type="groo vy" | |
| 4376 | name="Set session va riables" | |
| 4377 | id="97bd6e 8c-b7b2-43 94-818c-ea 5d6ad8b556 " | |
| 4378 | > | |
| 4379 | <con:setti ngs/> | |
| 4380 | <con:confi g> | |
| 4381 | <script> | |
| 4382 | import gro ovy.json.J sonSlurper | |
| 4383 | ||
| 4384 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Cre ate Sessio n").getPro pertyValue ("response ") | |
| 4385 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 4386 | ||
| 4387 | def token = slurperr esponse.to ken | |
| 4388 | def expire s = slurpe rresponse. expiresDat e | |
| 4389 | ||
| 4390 | testRunner .testCase. setPropert yValue("To ken",token ) | |
| 4391 | ||
| 4392 | log.info(" Session to ken: "+tok en.toStrin g()) | |
| 4393 | log.info(" Token expi res: "+exp ires.toStr ing()) | |
| 4394 | ||
| 4395 | assert (to ken.length ()) > 0 | |
| 4396 | assert (ex pires.leng th()) > 0 | |
| 4397 | </script> | |
| 4398 | </con:conf ig> | |
| 4399 | </con:test Step> | |
| 4400 | <con:testS tep | |
| 4401 | type="rest request" | |
| 4402 | name="Refi ll Request " | |
| 4403 | id="089652 77-ae27-41 44-8b97-60 06b1e71a9c " | |
| 4404 | > | |
| 4405 | <con:setti ngs/> | |
| 4406 | <con:confi g | |
| 4407 | service="R x Refill A PI" | |
| 4408 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /prescript ion/{rxid} " | |
| 4409 | methodName ="Rx Refil l Request" | |
| 4410 | xsi:type=" con:RestRe questStep" | |
| 4411 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 4412 | > | |
| 4413 | <con:restR equest | |
| 4414 | name="Refi ll Request " | |
| 4415 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 4416 | mediaType= "applicati on/json" | |
| 4417 | postQueryS tring="fal se" | |
| 4418 | > | |
| 4419 | <con:setti ngs> | |
| 4420 | <con:setti ng | |
| 4421 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 4422 | > | |
| 4423 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 4424 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 4425 | <con: entry key= "Token" va lue="${#Te stCase#Tok en}"/> | |
| 4426 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 4427 | </xml-f ragment> | |
| 4428 | </con:sett ing> | |
| 4429 | </con:sett ings> | |
| 4430 | <con:endpo int> | |
| 4431 | http://DNS .DNS :80 80/ | |
| 4432 | </con:endp oint> | |
| 4433 | <con:reque st/> | |
| 4434 | <con:origi nalUri> | |
| 4435 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 4436 | </con:orig inalUri> | |
| 4437 | <con:crede ntials> | |
| 4438 | <con:authT ype> | |
| 4439 | No Authori zation | |
| 4440 | </con:auth Type> | |
| 4441 | </con:cred entials> | |
| 4442 | <con:jmsCo nfig | |
| 4443 | JMSDeliver yMode="PER SISTENT" | |
| 4444 | /> | |
| 4445 | <con:jmsPr opertyConf ig/> | |
| 4446 | <con:param eters> | |
| 4447 | ||
| 4448 | <con:entry | |
| 4449 | key="rxid" | |
| 4450 | value="864 716" | |
| 4451 | /> | |
| 4452 | ||
| 4453 | <con:entry | |
| 4454 | key="appSo urce" | |
| 4455 | value="rxr " | |
| 4456 | /> | |
| 4457 | </con:para meters> | |
| 4458 | </con:rest Request> | |
| 4459 | </con:conf ig> | |
| 4460 | </con:test Step> | |
| 4461 | <con:testS tep | |
| 4462 | type="groo vy" | |
| 4463 | name="Log Results" | |
| 4464 | id="54cddd 54-6667-45 09-8604-d8 d7152b6717 " | |
| 4465 | > | |
| 4466 | <con:setti ngs/> | |
| 4467 | <con:confi g> | |
| 4468 | <script> | |
| 4469 | import gro ovy.json.J sonSlurper | |
| 4470 | ||
| 4471 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Ref ill Reques t").getPro pertyValue ("response ") | |
| 4472 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 4473 | def i = 0 | |
| 4474 | ||
| 4475 | log.info(" Rx Refill Response: ") | |
| 4476 | ||
| 4477 | def status = slurper response.s tatus | |
| 4478 | def errorC ode = slur perrespons e.errorCod e | |
| 4479 | def messag e = slurpe rresponse. message | |
| 4480 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 4481 | ||
| 4482 | log.info(" Status: "+ status.toS tring()) | |
| 4483 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 4484 | log.info(" Message: " +message.t oString()) | |
| 4485 | log.info(" Developer Message: " +developer Message.to String()) | |
| 4486 | ||
| 4487 | assert sta tus == 400 | |
| 4488 | </script> | |
| 4489 | </con:conf ig> | |
| 4490 | </con:test Step> | |
| 4491 | <con:prope rties> | |
| 4492 | <con:prope rty> | |
| 4493 | <con:name> | |
| 4494 | Token | |
| 4495 | </con:name > | |
| 4496 | <con:value > | |
| 4497 | skeXbBjHBQ w=b0px7xYt z9hJfbg5+a MTLueX7nlP epg2IgkAM2 MqnU8= | |
| 4498 | </con:valu e> | |
| 4499 | </con:prop erty> | |
| 4500 | </con:prop erties> | |
| 4501 | </con:test Case> | |
| 4502 | <con:testC ase | |
| 4503 | id="6934c7 62-d8fd-45 16-913f-f9 3c4fe0aa75 " | |
| 4504 | failOnErro r="true" | |
| 4505 | failTestCa seOnErrors ="true" | |
| 4506 | keepSessio n="false" | |
| 4507 | maxResults ="0" | |
| 4508 | name="Test Get Rx Tr acking Det ails Fault 136" | |
| 4509 | searchProp erties="tr ue" | |
| 4510 | > | |
| 4511 | <con:setti ngs/> | |
| 4512 | <con:testS tep | |
| 4513 | type="rest request" | |
| 4514 | name="Crea te Session " | |
| 4515 | id="5471c8 bd-6b1a-44 12-8a62-4f 2e2078a303 " | |
| 4516 | > | |
| 4517 | <con:setti ngs/> | |
| 4518 | <con:confi g | |
| 4519 | service="R x Refill A PI" | |
| 4520 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 4521 | methodName ="Session" | |
| 4522 | xsi:type=" con:RestRe questStep" | |
| 4523 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 4524 | > | |
| 4525 | <con:restR equest | |
| 4526 | name="Crea te Session " | |
| 4527 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 4528 | mediaType= "applicati on/json" | |
| 4529 | postQueryS tring="fal se" | |
| 4530 | > | |
| 4531 | <con:setti ngs> | |
| 4532 | <con:setti ng | |
| 4533 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 4534 | > | |
| 4535 | <entry key="Accep t" value=" applicatio n/json" xm lns="http: //eviware. com/soapui /config"/> | |
| 4536 | </con:sett ing> | |
| 4537 | </con:sett ings> | |
| 4538 | <con:endpo int> | |
| 4539 | http://DNS .DNS :80 80/ | |
| 4540 | </con:endp oint> | |
| 4541 | <con:reque st/> | |
| 4542 | <con:origi nalUri> | |
| 4543 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 4544 | </con:orig inalUri> | |
| 4545 | <con:crede ntials> | |
| 4546 | <con:authT ype> | |
| 4547 | No Authori zation | |
| 4548 | </con:auth Type> | |
| 4549 | </con:cred entials> | |
| 4550 | <con:jmsCo nfig | |
| 4551 | JMSDeliver yMode="PER SISTENT" | |
| 4552 | /> | |
| 4553 | <con:jmsPr opertyConf ig/> | |
| 4554 | <con:param eters> | |
| 4555 | <entry | |
| 4556 | key="patie ntid" | |
| 4557 | value="745 819" | |
| 4558 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 4559 | /> | |
| 4560 | </con:para meters> | |
| 4561 | <con:param eterOrder> | |
| 4562 | <con:entry > | |
| 4563 | patientid | |
| 4564 | </con:entr y> | |
| 4565 | </con:para meterOrder > | |
| 4566 | </con:rest Request> | |
| 4567 | </con:conf ig> | |
| 4568 | </con:test Step> | |
| 4569 | <con:testS tep | |
| 4570 | type="groo vy" | |
| 4571 | name="Set session va riables" | |
| 4572 | id="22826c 54-ff9b-4e 16-942c-28 f0d1e1ac9e " | |
| 4573 | > | |
| 4574 | <con:setti ngs/> | |
| 4575 | <con:confi g> | |
| 4576 | <script> | |
| 4577 | import gro ovy.json.J sonSlurper | |
| 4578 | ||
| 4579 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Cre ate Sessio n").getPro pertyValue ("response ") | |
| 4580 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 4581 | ||
| 4582 | def token = slurperr esponse.to ken | |
| 4583 | def expire s = slurpe rresponse. expiresDat e | |
| 4584 | ||
| 4585 | testRunner .testCase. setPropert yValue("To ken",token ) | |
| 4586 | ||
| 4587 | log.info(" Session to ken: "+tok en.toStrin g()) | |
| 4588 | log.info(" Token expi res: "+exp ires.toStr ing()) | |
| 4589 | ||
| 4590 | assert (to ken.length ()) > 0 | |
| 4591 | assert (ex pires.leng th()) > 0 | |
| 4592 | </script> | |
| 4593 | </con:conf ig> | |
| 4594 | </con:test Step> | |
| 4595 | <con:testS tep | |
| 4596 | type="rest request" | |
| 4597 | name="Get Tracking D etails" | |
| 4598 | id="b87968 15-f7b4-45 9b-ab35-ac 9600d76568 " | |
| 4599 | > | |
| 4600 | <con:setti ngs/> | |
| 4601 | <con:confi g | |
| 4602 | service="R x Refill A PI" | |
| 4603 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/trac king/{rxid }" | |
| 4604 | methodName ="Rx Track ing Detail s" | |
| 4605 | xsi:type=" con:RestRe questStep" | |
| 4606 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 4607 | > | |
| 4608 | <con:restR equest | |
| 4609 | name="Get Tracking D etails" | |
| 4610 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 4611 | mediaType= "applicati on/json" | |
| 4612 | > | |
| 4613 | <con:setti ngs> | |
| 4614 | <con:setti ng | |
| 4615 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 4616 | > | |
| 4617 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 4618 | <con: entry key= "Token" va lue="${#Te stCase#Tok en}"/> | |
| 4619 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 4620 | </xml-f ragment> | |
| 4621 | </con:sett ing> | |
| 4622 | </con:sett ings> | |
| 4623 | <con:endpo int> | |
| 4624 | http://DNS .DNS :80 80/ | |
| 4625 | </con:endp oint> | |
| 4626 | <con:reque st/> | |
| 4627 | <con:origi nalUri> | |
| 4628 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 4629 | </con:orig inalUri> | |
| 4630 | <con:crede ntials> | |
| 4631 | <con:authT ype> | |
| 4632 | No Authori zation | |
| 4633 | </con:auth Type> | |
| 4634 | </con:cred entials> | |
| 4635 | <con:jmsCo nfig | |
| 4636 | JMSDeliver yMode="PER SISTENT" | |
| 4637 | /> | |
| 4638 | <con:jmsPr opertyConf ig/> | |
| 4639 | <con:param eters> | |
| 4640 | <entry | |
| 4641 | key="rxid" | |
| 4642 | value="929 434" | |
| 4643 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 4644 | /> | |
| 4645 | </con:para meters> | |
| 4646 | </con:rest Request> | |
| 4647 | </con:conf ig> | |
| 4648 | </con:test Step> | |
| 4649 | <con:testS tep | |
| 4650 | type="groo vy" | |
| 4651 | name="Log Results" | |
| 4652 | id="c621f3 c2-b869-4b 3f-aa0d-a4 43ecbddd13 " | |
| 4653 | > | |
| 4654 | <con:setti ngs/> | |
| 4655 | <con:confi g> | |
| 4656 | <script> | |
| 4657 | import gro ovy.json.J sonSlurper | |
| 4658 | ||
| 4659 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Get Tracking Details"). getPropert yValue("re sponse") | |
| 4660 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 4661 | ||
| 4662 | log.info(" Tracking R x Details Response: ") | |
| 4663 | ||
| 4664 | def status = slurper response.s tatus | |
| 4665 | def errorC ode = slur perrespons e.errorCod e | |
| 4666 | def messag e = slurpe rresponse. message | |
| 4667 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 4668 | ||
| 4669 | log.info(" Status: "+ status.toS tring()) | |
| 4670 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 4671 | log.info(" Message: " +message.t oString()) | |
| 4672 | log.info(" Developer Message: " +developer Message.to String()) | |
| 4673 | ||
| 4674 | assert sta tus == 400 | |
| 4675 | </script> | |
| 4676 | </con:conf ig> | |
| 4677 | </con:test Step> | |
| 4678 | <con:prope rties/> | |
| 4679 | </con:test Case> | |
| 4680 | <con:testC ase | |
| 4681 | id="4dad2a 45-be7e-47 7f-b42c-69 f7b44572e8 " | |
| 4682 | failOnErro r="true" | |
| 4683 | failTestCa seOnErrors ="true" | |
| 4684 | keepSessio n="false" | |
| 4685 | maxResults ="0" | |
| 4686 | name="Test Get Rx Tr acking Det ails Fault 138" | |
| 4687 | searchProp erties="tr ue" | |
| 4688 | > | |
| 4689 | <con:setti ngs/> | |
| 4690 | <con:testS tep | |
| 4691 | type="rest request" | |
| 4692 | name="Crea te Session " | |
| 4693 | id="a7ef75 65-1099-4e e4-bb51-a2 598a4d5849 " | |
| 4694 | > | |
| 4695 | <con:setti ngs/> | |
| 4696 | <con:confi g | |
| 4697 | service="R x Refill A PI" | |
| 4698 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 4699 | methodName ="Session" | |
| 4700 | xsi:type=" con:RestRe questStep" | |
| 4701 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 4702 | > | |
| 4703 | <con:restR equest | |
| 4704 | name="Crea te Session " | |
| 4705 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 4706 | mediaType= "applicati on/json" | |
| 4707 | postQueryS tring="fal se" | |
| 4708 | > | |
| 4709 | <con:setti ngs> | |
| 4710 | <con:setti ng | |
| 4711 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 4712 | > | |
| 4713 | <entry key="Accep t" value=" applicatio n/json" xm lns="http: //eviware. com/soapui /config"/> | |
| 4714 | </con:sett ing> | |
| 4715 | </con:sett ings> | |
| 4716 | <con:endpo int> | |
| 4717 | http://vDN S.DNS :8 080/ | |
| 4718 | </con:endp oint> | |
| 4719 | <con:reque st/> | |
| 4720 | <con:origi nalUri> | |
| 4721 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 4722 | </con:orig inalUri> | |
| 4723 | <con:crede ntials> | |
| 4724 | <con:authT ype> | |
| 4725 | No Authori zation | |
| 4726 | </con:auth Type> | |
| 4727 | </con:cred entials> | |
| 4728 | <con:jmsCo nfig | |
| 4729 | JMSDeliver yMode="PER SISTENT" | |
| 4730 | /> | |
| 4731 | <con:jmsPr opertyConf ig/> | |
| 4732 | <con:param eters> | |
| 4733 | <entry | |
| 4734 | key="patie ntid" | |
| 4735 | value="745 819" | |
| 4736 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 4737 | /> | |
| 4738 | </con:para meters> | |
| 4739 | <con:param eterOrder> | |
| 4740 | <con:entry > | |
| 4741 | patientid | |
| 4742 | </con:entr y> | |
| 4743 | </con:para meterOrder > | |
| 4744 | </con:rest Request> | |
| 4745 | </con:conf ig> | |
| 4746 | </con:test Step> | |
| 4747 | <con:testS tep | |
| 4748 | type="groo vy" | |
| 4749 | name="Set session va riables" | |
| 4750 | id="8330e3 1e-fee3-44 94-9119-7a 991e8911f5 " | |
| 4751 | > | |
| 4752 | <con:setti ngs/> | |
| 4753 | <con:confi g> | |
| 4754 | <script> | |
| 4755 | import gro ovy.json.J sonSlurper | |
| 4756 | ||
| 4757 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Cre ate Sessio n").getPro pertyValue ("response ") | |
| 4758 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 4759 | ||
| 4760 | def token = slurperr esponse.to ken | |
| 4761 | def expire s = slurpe rresponse. expiresDat e | |
| 4762 | ||
| 4763 | testRunner .testCase. setPropert yValue("To ken",token ) | |
| 4764 | ||
| 4765 | log.info(" Session to ken: "+tok en.toStrin g()) | |
| 4766 | log.info(" Token expi res: "+exp ires.toStr ing()) | |
| 4767 | ||
| 4768 | assert (to ken.length ()) > 0 | |
| 4769 | assert (ex pires.leng th()) > 0 | |
| 4770 | </script> | |
| 4771 | </con:conf ig> | |
| 4772 | </con:test Step> | |
| 4773 | <con:testS tep | |
| 4774 | type="rest request" | |
| 4775 | name="Get Tracking D etails" | |
| 4776 | id="4dcd56 da-2352-4e 80-806f-c3 dcf7961b0f " | |
| 4777 | > | |
| 4778 | <con:setti ngs/> | |
| 4779 | <con:confi g | |
| 4780 | service="R x Refill A PI" | |
| 4781 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/trac king/{rxid }" | |
| 4782 | methodName ="Rx Track ing Detail s" | |
| 4783 | xsi:type=" con:RestRe questStep" | |
| 4784 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 4785 | > | |
| 4786 | <con:restR equest | |
| 4787 | name="Get Tracking D etails" | |
| 4788 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 4789 | mediaType= "applicati on/json" | |
| 4790 | > | |
| 4791 | <con:setti ngs> | |
| 4792 | <con:setti ng | |
| 4793 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 4794 | > | |
| 4795 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 4796 | <con: entry key= "Token" va lue="${#Te stCase#Tok en}"/> | |
| 4797 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 4798 | </xml-f ragment> | |
| 4799 | </con:sett ing> | |
| 4800 | </con:sett ings> | |
| 4801 | <con:endpo int> | |
| 4802 | http://DNS .DNS :80 80/ | |
| 4803 | </con:endp oint> | |
| 4804 | <con:reque st/> | |
| 4805 | <con:origi nalUri> | |
| 4806 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 4807 | </con:orig inalUri> | |
| 4808 | <con:crede ntials> | |
| 4809 | <con:authT ype> | |
| 4810 | No Authori zation | |
| 4811 | </con:auth Type> | |
| 4812 | </con:cred entials> | |
| 4813 | <con:jmsCo nfig | |
| 4814 | JMSDeliver yMode="PER SISTENT" | |
| 4815 | /> | |
| 4816 | <con:jmsPr opertyConf ig/> | |
| 4817 | <con:param eters> | |
| 4818 | <entry | |
| 4819 | key="rxid" | |
| 4820 | value="000 000" | |
| 4821 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 4822 | /> | |
| 4823 | </con:para meters> | |
| 4824 | </con:rest Request> | |
| 4825 | </con:conf ig> | |
| 4826 | </con:test Step> | |
| 4827 | <con:testS tep | |
| 4828 | type="groo vy" | |
| 4829 | name="Log Results" | |
| 4830 | id="0c9ddc 83-15c6-4a b7-8bc0-d7 8a7a40d386 " | |
| 4831 | > | |
| 4832 | <con:setti ngs/> | |
| 4833 | <con:confi g> | |
| 4834 | <script> | |
| 4835 | import gro ovy.json.J sonSlurper | |
| 4836 | ||
| 4837 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Get Tracking Details"). getPropert yValue("re sponse") | |
| 4838 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 4839 | ||
| 4840 | log.info(" Tracking R x Details Response: ") | |
| 4841 | ||
| 4842 | def status = slurper response.s tatus | |
| 4843 | def errorC ode = slur perrespons e.errorCod e | |
| 4844 | def messag e = slurpe rresponse. message | |
| 4845 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 4846 | ||
| 4847 | log.info(" Status: "+ status.toS tring()) | |
| 4848 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 4849 | log.info(" Message: " +message.t oString()) | |
| 4850 | log.info(" Developer Message: " +developer Message.to String()) | |
| 4851 | ||
| 4852 | assert sta tus == 400 | |
| 4853 | </script> | |
| 4854 | </con:conf ig> | |
| 4855 | </con:test Step> | |
| 4856 | <con:prope rties/> | |
| 4857 | </con:test Case> | |
| 4858 | <con:testC ase | |
| 4859 | id="359752 0f-2803-4e c4-98a3-c2 f69dce1f2e " | |
| 4860 | failOnErro r="true" | |
| 4861 | failTestCa seOnErrors ="true" | |
| 4862 | keepSessio n="false" | |
| 4863 | maxResults ="0" | |
| 4864 | name="Refi ll Request Details-M ultiple-Da teRange" | |
| 4865 | searchProp erties="tr ue" | |
| 4866 | > | |
| 4867 | <con:setti ngs/> | |
| 4868 | <con:testS tep | |
| 4869 | type="rest request" | |
| 4870 | name="Refi ll Request Details" | |
| 4871 | id="bbdc02 1a-0a8c-41 a0-b153-1e 63e7772b76 " | |
| 4872 | > | |
| 4873 | <con:setti ngs/> | |
| 4874 | <con:confi g | |
| 4875 | service="R x Refill A PI" | |
| 4876 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/refi llrequests " | |
| 4877 | methodName ="Refill R equest Det ails" | |
| 4878 | xsi:type=" con:RestRe questStep" | |
| 4879 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 4880 | > | |
| 4881 | <con:restR equest | |
| 4882 | name="Refi ll Request Details" | |
| 4883 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 4884 | mediaType= "applicati on/json" | |
| 4885 | > | |
| 4886 | <con:setti ngs> | |
| 4887 | <con:setti ng | |
| 4888 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 4889 | > | |
| 4890 | <![CDATA[< xml-fragme nt xmlns:c on="http:/ /eviware.c om/soapui/ config"> | |
| 4891 | <con:ent ry key="st artDate" v alue="Mon, 3 May 201 5 00:00:00 EDT"/> | |
| 4892 | <con:ent ry key="pa tientId" v alue="8646 73"/> | |
| 4893 | <con:ent ry key="co unt" value ="false"/> | |
| 4894 | <con:ent ry key="as signingAut hority" va lue="EDIPI "/> | |
| 4895 | <con:ent ry key="en dDate" val ue="Mon, 1 8 May 2015 00:00:00 EDT"/> | |
| 4896 | <con:ent ry key="Ac cept" valu e="applica tion/json" /> | |
| 4897 | </xml-frag ment>]]> | |
| 4898 | </con:sett ing> | |
| 4899 | </con:sett ings> | |
| 4900 | <con:endpo int> | |
| 4901 | http://DNS .DNS :80 80/ | |
| 4902 | </con:endp oint> | |
| 4903 | <con:reque st/> | |
| 4904 | <con:origi nalUri> | |
| 4905 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/histo ric | |
| 4906 | </con:orig inalUri> | |
| 4907 | <con:crede ntials> | |
| 4908 | <con:authT ype> | |
| 4909 | No Authori zation | |
| 4910 | </con:auth Type> | |
| 4911 | </con:cred entials> | |
| 4912 | <con:jmsCo nfig | |
| 4913 | JMSDeliver yMode="PER SISTENT" | |
| 4914 | /> | |
| 4915 | <con:jmsPr opertyConf ig/> | |
| 4916 | <con:param eters/> | |
| 4917 | </con:rest Request> | |
| 4918 | </con:conf ig> | |
| 4919 | </con:test Step> | |
| 4920 | <con:testS tep | |
| 4921 | type="groo vy" | |
| 4922 | name="Log Results" | |
| 4923 | id="7301d7 81-d31c-4d d0-87ed-bb ecd3d48801 " | |
| 4924 | > | |
| 4925 | <con:setti ngs/> | |
| 4926 | <con:confi g> | |
| 4927 | <script> | |
| 4928 | import gro ovy.json.J sonSlurper | |
| 4929 | import com .eviware.s oapui.supp ort.types. StringToSt ringMap | |
| 4930 | def header s = testRu nner.testC ase.getTes tStepByNam e("Refill Request De tails").ge tHttpReque st().getRe questHeade rs() | |
| 4931 | log.info(" * * * Head ers * * *" ); | |
| 4932 | headers.ea ch | |
| 4933 | { | |
| 4934 | key,val -> | |
| 4935 | log.info "Key = "+ key+" ; va lue="+val | |
| 4936 | } | |
| 4937 | ||
| 4938 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Ref ill Reques t Details" ).getPrope rtyValue(" response") | |
| 4939 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 4940 | def i = 0 | |
| 4941 | ||
| 4942 | log.info(" Refill Req uest Detai ls:") | |
| 4943 | ||
| 4944 | ||
| 4945 | if (slurpe rresponse. count != n ull) { | |
| 4946 | log. info("Coun t: "+slurp erresponse .count.toS tring()) | |
| 4947 | } | |
| 4948 | if (slurpe rresponse. medication RefillRequ est != nul l) { | |
| 4949 | log. info("pati entId: "+s lurperresp onse.medic ationRefil lRequest.p atientId.t oString()) | |
| 4950 | log. info("assi gningAutho rity: "+sl urperrespo nse.medica tionRefill Request.as signingAut hority.toS tring()) | |
| 4951 | log. info("pres criptionId : "+slurpe rresponse. medication RefillRequ est.prescr iptionId.t oString()) | |
| 4952 | log. info("requ estDate: " +slurperre sponse.med icationRef illRequest .requestDa te.toStrin g()) | |
| 4953 | log. info("appS ource: "+s lurperresp onse.medic ationRefil lRequest.a ppSource.t oString()) | |
| 4954 | log. info("docC reatedDate : "+slurpe rresponse. medication RefillRequ est.docCre atedDate.t oString()) | |
| 4955 | log. info("docU pdatedDate : "+slurpe rresponse. medication RefillRequ est.docUpd atedDate.t oString()) | |
| 4956 | } | |
| 4957 | if (slurpe rresponse. medication RefillRequ ests != nu ll) { | |
| 4958 | wh ile(slurpe rresponse. medication RefillRequ ests.medic ationRefil ls._id[i] != null) | |
| 4959 | { | |
| 4960 | def counter = i + 1 | |
| 4961 | log. info("*** Refill Req uest ["+co unter+"] * **") | |
| 4962 | log. info("pati entId: "+s lurperresp onse.medic ationRefil lRequests. medication Refills.pa tientId[i] .toString( )) | |
| 4963 | log. info("assi gningAutho rity: "+sl urperrespo nse.medica tionRefill Requests.m edicationR efills.ass igningAuth ority[i].t oString()) | |
| 4964 | log. info("pres criptionId : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.prescri ptionId[i] .toString( )) | |
| 4965 | log. info("requ estDate: " +slurperre sponse.med icationRef illRequest s.medicati onRefills. requestDat e[i].toStr ing()) | |
| 4966 | log. info("appS ource: "+s lurperresp onse.medic ationRefil lRequests. medication Refills.ap pSource[i] .toString( )) | |
| 4967 | log. info("docC reatedDate : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.docCrea tedDate[i] .toString( )) | |
| 4968 | log. info("docU pdatedDate : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.docUpda tedDate[i] .toString( )) | |
| 4969 | ||
| 4970 | i++ | |
| 4971 | } | |
| 4972 | } | |
| 4973 | ||
| 4974 | </script> | |
| 4975 | </con:conf ig> | |
| 4976 | </con:test Step> | |
| 4977 | <con:prope rties/> | |
| 4978 | </con:test Case> | |
| 4979 | <con:testC ase | |
| 4980 | id="296834 70-f4b1-47 15-be2d-dd 3b4f09013c " | |
| 4981 | failOnErro r="true" | |
| 4982 | failTestCa seOnErrors ="true" | |
| 4983 | keepSessio n="false" | |
| 4984 | maxResults ="0" | |
| 4985 | name="Refi ll Request Details-S ingle-Date Range" | |
| 4986 | searchProp erties="tr ue" | |
| 4987 | > | |
| 4988 | <con:setti ngs/> | |
| 4989 | <con:testS tep | |
| 4990 | type="rest request" | |
| 4991 | name="Refi ll Request Details" | |
| 4992 | id="2cf859 61-8ac2-4d c8-84f8-a0 af118bdc13 " | |
| 4993 | > | |
| 4994 | <con:setti ngs/> | |
| 4995 | <con:confi g | |
| 4996 | service="R x Refill A PI" | |
| 4997 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/refi llrequests " | |
| 4998 | methodName ="Refill R equest Det ails" | |
| 4999 | xsi:type=" con:RestRe questStep" | |
| 5000 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 5001 | > | |
| 5002 | <con:restR equest | |
| 5003 | name="Refi ll Request Details" | |
| 5004 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 5005 | mediaType= "applicati on/json" | |
| 5006 | > | |
| 5007 | <con:setti ngs> | |
| 5008 | <con:setti ng | |
| 5009 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 5010 | > | |
| 5011 | <![CDATA[< xml-fragme nt xmlns:c on="http:/ /eviware.c om/soapui/ config"> | |
| 5012 | <con:ent ry key="pa tientId" v alue="8646 73"/> | |
| 5013 | <con:ent ry key="st artDate" v alue="Mon, 3 May 201 5 00:00:00 EDT"/> | |
| 5014 | <con:ent ry key="co unt" value ="false"/> | |
| 5015 | <con:ent ry key="as signingAut hority" va lue="EDIPI "/> | |
| 5016 | <con:ent ry key="en dDate" val ue="Mon, 1 0 May 2015 00:00:00 EDT"/> | |
| 5017 | <con:ent ry key="Ac cept" valu e="applica tion/json" /> | |
| 5018 | </xml-frag ment>]]> | |
| 5019 | </con:sett ing> | |
| 5020 | </con:sett ings> | |
| 5021 | <con:endpo int> | |
| 5022 | http://DNS .DNS :80 80/ | |
| 5023 | </con:endp oint> | |
| 5024 | <con:reque st/> | |
| 5025 | <con:origi nalUri> | |
| 5026 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/histo ric | |
| 5027 | </con:orig inalUri> | |
| 5028 | <con:crede ntials> | |
| 5029 | <con:authT ype> | |
| 5030 | No Authori zation | |
| 5031 | </con:auth Type> | |
| 5032 | </con:cred entials> | |
| 5033 | <con:jmsCo nfig | |
| 5034 | JMSDeliver yMode="PER SISTENT" | |
| 5035 | /> | |
| 5036 | <con:jmsPr opertyConf ig/> | |
| 5037 | <con:param eters/> | |
| 5038 | </con:rest Request> | |
| 5039 | </con:conf ig> | |
| 5040 | </con:test Step> | |
| 5041 | <con:testS tep | |
| 5042 | type="groo vy" | |
| 5043 | name="Log Results" | |
| 5044 | id="5a7e06 f5-b00d-40 a7-b94b-ba d4af2e889b " | |
| 5045 | > | |
| 5046 | <con:setti ngs/> | |
| 5047 | <con:confi g> | |
| 5048 | <script> | |
| 5049 | import gro ovy.json.J sonSlurper | |
| 5050 | import com .eviware.s oapui.supp ort.types. StringToSt ringMap | |
| 5051 | def header s = testRu nner.testC ase.getTes tStepByNam e("Refill Request De tails").ge tHttpReque st().getRe questHeade rs() | |
| 5052 | log.info(" * * * Head ers * * *" ); | |
| 5053 | headers.ea ch | |
| 5054 | { | |
| 5055 | key,val -> | |
| 5056 | log.info "Key = "+ key+" ; va lue="+val | |
| 5057 | } | |
| 5058 | ||
| 5059 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Ref ill Reques t Details" ).getPrope rtyValue(" response") | |
| 5060 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 5061 | def i = 0 | |
| 5062 | ||
| 5063 | log.info(" Refill Req uest Detai ls: ") | |
| 5064 | ||
| 5065 | ||
| 5066 | if (slurpe rresponse. count != n ull) { | |
| 5067 | log. info("Coun t: "+slurp erresponse .count.toS tring()) | |
| 5068 | } | |
| 5069 | if (slurpe rresponse. medication RefillRequ est != nul l) { | |
| 5070 | log. info("pati entId: "+s lurperresp onse.medic ationRefil lRequest.p atientId.t oString()) | |
| 5071 | log. info("assi gningAutho rity: "+sl urperrespo nse.medica tionRefill Request.as signingAut hority.toS tring()) | |
| 5072 | log. info("pres criptionId : "+slurpe rresponse. medication RefillRequ est.prescr iptionId.t oString()) | |
| 5073 | log. info("requ estDate: " +slurperre sponse.med icationRef illRequest .requestDa te.toStrin g()) | |
| 5074 | log. info("appS ource: "+s lurperresp onse.medic ationRefil lRequest.a ppSource.t oString()) | |
| 5075 | log. info("docC reatedDate : "+slurpe rresponse. medication RefillRequ est.docCre atedDate.t oString()) | |
| 5076 | log. info("docU pdatedDate : "+slurpe rresponse. medication RefillRequ est.docUpd atedDate.t oString()) | |
| 5077 | } | |
| 5078 | if (slurpe rresponse. medication RefillRequ ests != nu ll) { | |
| 5079 | wh ile(slurpe rresponse. medication RefillRequ ests.medic ationRefil ls._id[i] != null) | |
| 5080 | { | |
| 5081 | def counter = i + 1 | |
| 5082 | log. info("*** Refill Req uest ["+co unter+"] * **") | |
| 5083 | log. info("pati entId: "+s lurperresp onse.medic ationRefil lRequests. medication Refills.pa tientId[i] .toString( )) | |
| 5084 | log. info("assi gningAutho rity: "+sl urperrespo nse.medica tionRefill Requests.m edicationR efills.ass igningAuth ority[i].t oString()) | |
| 5085 | log. info("pres criptionId : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.prescri ptionId[i] .toString( )) | |
| 5086 | log. info("requ estDate: " +slurperre sponse.med icationRef illRequest s.medicati onRefills. requestDat e[i].toStr ing()) | |
| 5087 | log. info("appS ource: "+s lurperresp onse.medic ationRefil lRequests. medication Refills.ap pSource[i] .toString( )) | |
| 5088 | log. info("docC reatedDate : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.docCrea tedDate[i] .toString( )) | |
| 5089 | log. info("docU pdatedDate : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.docUpda tedDate[i] .toString( )) | |
| 5090 | ||
| 5091 | i++ | |
| 5092 | } | |
| 5093 | } | |
| 5094 | ||
| 5095 | </script> | |
| 5096 | </con:conf ig> | |
| 5097 | </con:test Step> | |
| 5098 | <con:prope rties/> | |
| 5099 | </con:test Case> | |
| 5100 | <con:testC ase | |
| 5101 | id="8376d5 b6-54ab-4b 68-8f40-fd 9c6bc4a240 " | |
| 5102 | failOnErro r="true" | |
| 5103 | failTestCa seOnErrors ="true" | |
| 5104 | keepSessio n="false" | |
| 5105 | maxResults ="0" | |
| 5106 | name="Refi ll Request Details-C ount-DateR ange" | |
| 5107 | searchProp erties="tr ue" | |
| 5108 | > | |
| 5109 | <con:setti ngs/> | |
| 5110 | <con:testS tep | |
| 5111 | type="rest request" | |
| 5112 | name="Refi ll Request Details" | |
| 5113 | id="c34807 96-1ed1-43 3d-8f3c-9f 681b9cd019 " | |
| 5114 | > | |
| 5115 | <con:setti ngs/> | |
| 5116 | <con:confi g | |
| 5117 | service="R x Refill A PI" | |
| 5118 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/refi llrequests " | |
| 5119 | methodName ="Refill R equest Det ails" | |
| 5120 | xsi:type=" con:RestRe questStep" | |
| 5121 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 5122 | > | |
| 5123 | <con:restR equest | |
| 5124 | name="Refi ll Request Details" | |
| 5125 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 5126 | mediaType= "applicati on/json" | |
| 5127 | > | |
| 5128 | <con:setti ngs> | |
| 5129 | <con:setti ng | |
| 5130 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 5131 | > | |
| 5132 | <![CDATA[< xml-fragme nt xmlns:c on="http:/ /eviware.c om/soapui/ config"> | |
| 5133 | <con:ent ry key="st artDate" v alue="Wed, 1 Apr 201 5 00:00:00 EDT"/> | |
| 5134 | <con:ent ry key="pa tientId" v alue="8646 73"/> | |
| 5135 | <con:ent ry key="co unt" value ="true"/> | |
| 5136 | <con:ent ry key="as signingAut hority" va lue="EDIPI "/> | |
| 5137 | <con:ent ry key="en dDate" val ue="Mon, 1 8 May 2015 00:00:00 EDT"/> | |
| 5138 | <con:ent ry key="Ac cept" valu e="applica tion/json" /> | |
| 5139 | </xml-frag ment>]]> | |
| 5140 | </con:sett ing> | |
| 5141 | </con:sett ings> | |
| 5142 | <con:endpo int> | |
| 5143 | http://DNS .DNS :80 80/ | |
| 5144 | </con:endp oint> | |
| 5145 | <con:reque st/> | |
| 5146 | <con:origi nalUri> | |
| 5147 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/histo ric | |
| 5148 | </con:orig inalUri> | |
| 5149 | <con:crede ntials> | |
| 5150 | <con:authT ype> | |
| 5151 | No Authori zation | |
| 5152 | </con:auth Type> | |
| 5153 | </con:cred entials> | |
| 5154 | <con:jmsCo nfig | |
| 5155 | JMSDeliver yMode="PER SISTENT" | |
| 5156 | /> | |
| 5157 | <con:jmsPr opertyConf ig/> | |
| 5158 | <con:param eters/> | |
| 5159 | </con:rest Request> | |
| 5160 | </con:conf ig> | |
| 5161 | </con:test Step> | |
| 5162 | <con:testS tep | |
| 5163 | type="groo vy" | |
| 5164 | name="Log Results" | |
| 5165 | id="3f7a3e 97-d427-4d 66-a064-fa 6ae3685d72 " | |
| 5166 | > | |
| 5167 | <con:setti ngs/> | |
| 5168 | <con:confi g> | |
| 5169 | <script> | |
| 5170 | import gro ovy.json.J sonSlurper | |
| 5171 | import com .eviware.s oapui.supp ort.types. StringToSt ringMap | |
| 5172 | def header s = testRu nner.testC ase.getTes tStepByNam e("Refill Request De tails").ge tHttpReque st().getRe questHeade rs() | |
| 5173 | log.info(" * * * Head ers * * *" ); | |
| 5174 | headers.ea ch | |
| 5175 | { | |
| 5176 | key,val -> | |
| 5177 | log.info "Key = "+ key+" ; va lue="+val | |
| 5178 | } | |
| 5179 | ||
| 5180 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Ref ill Reques t Details" ).getPrope rtyValue(" response") | |
| 5181 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 5182 | def i = 0 | |
| 5183 | ||
| 5184 | log.info(" Refill Req uest Detai ls: ") | |
| 5185 | ||
| 5186 | ||
| 5187 | if (slurpe rresponse. count != n ull) { | |
| 5188 | log. info("Coun t: "+slurp erresponse .count.toS tring()) | |
| 5189 | } | |
| 5190 | if (slurpe rresponse. medication RefillRequ est != nul l) { | |
| 5191 | log. info("pati entId: "+s lurperresp onse.medic ationRefil lRequest.p atientId.t oString()) | |
| 5192 | log. info("assi gningAutho rity: "+sl urperrespo nse.medica tionRefill Request.as signingAut hority.toS tring()) | |
| 5193 | log. info("pres criptionId : "+slurpe rresponse. medication RefillRequ est.prescr iptionId.t oString()) | |
| 5194 | log. info("requ estDate: " +slurperre sponse.med icationRef illRequest .requestDa te.toStrin g()) | |
| 5195 | log. info("appS ource: "+s lurperresp onse.medic ationRefil lRequest.a ppSource.t oString()) | |
| 5196 | log. info("docC reatedDate : "+slurpe rresponse. medication RefillRequ est.docCre atedDate.t oString()) | |
| 5197 | log. info("docU pdatedDate : "+slurpe rresponse. medication RefillRequ est.docUpd atedDate.t oString()) | |
| 5198 | } | |
| 5199 | if (slurpe rresponse. medication RefillRequ ests != nu ll) { | |
| 5200 | wh ile(slurpe rresponse. medication RefillRequ ests.medic ationRefil ls._id[i] != null) | |
| 5201 | { | |
| 5202 | def counter = i + 1 | |
| 5203 | log. info("*** Refill Req uest ["+co unter+"] * **") | |
| 5204 | log. info("pati entId: "+s lurperresp onse.medic ationRefil lRequests. medication Refills.pa tientId[i] .toString( )) | |
| 5205 | log. info("assi gningAutho rity: "+sl urperrespo nse.medica tionRefill Requests.m edicationR efills.ass igningAuth ority[i].t oString()) | |
| 5206 | log. info("pres criptionId : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.prescri ptionId[i] .toString( )) | |
| 5207 | log. info("requ estDate: " +slurperre sponse.med icationRef illRequest s.medicati onRefills. requestDat e[i].toStr ing()) | |
| 5208 | log. info("appS ource: "+s lurperresp onse.medic ationRefil lRequests. medication Refills.ap pSource[i] .toString( )) | |
| 5209 | log. info("docC reatedDate : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.docCrea tedDate[i] .toString( )) | |
| 5210 | log. info("docU pdatedDate : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.docUpda tedDate[i] .toString( )) | |
| 5211 | ||
| 5212 | i++ | |
| 5213 | } | |
| 5214 | } | |
| 5215 | ||
| 5216 | </script> | |
| 5217 | </con:conf ig> | |
| 5218 | </con:test Step> | |
| 5219 | <con:prope rties/> | |
| 5220 | </con:test Case> | |
| 5221 | <con:testC ase | |
| 5222 | id="b7a5b1 66-2760-4f c6-b031-de 928edf6d8f " | |
| 5223 | failOnErro r="true" | |
| 5224 | failTestCa seOnErrors ="true" | |
| 5225 | keepSessio n="false" | |
| 5226 | maxResults ="0" | |
| 5227 | name="Refi ll Request Details-M ultiple-Pa tientId" | |
| 5228 | searchProp erties="tr ue" | |
| 5229 | > | |
| 5230 | <con:setti ngs/> | |
| 5231 | <con:testS tep | |
| 5232 | type="rest request" | |
| 5233 | name="Refi ll Request Details" | |
| 5234 | id="d98797 b3-7351-4c 6d-9849-89 4744fd17ba " | |
| 5235 | > | |
| 5236 | <con:setti ngs/> | |
| 5237 | <con:confi g | |
| 5238 | service="R x Refill A PI" | |
| 5239 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/refi llrequests " | |
| 5240 | methodName ="Refill R equest Det ails" | |
| 5241 | xsi:type=" con:RestRe questStep" | |
| 5242 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 5243 | > | |
| 5244 | <con:restR equest | |
| 5245 | name="Refi ll Request Details" | |
| 5246 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 5247 | mediaType= "applicati on/json" | |
| 5248 | > | |
| 5249 | <con:setti ngs> | |
| 5250 | <con:setti ng | |
| 5251 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 5252 | > | |
| 5253 | <![CDATA[< xml-fragme nt xmlns:c on="http:/ /eviware.c om/soapui/ config"> | |
| 5254 | <con:ent ry key="pa tientId" v alue="8646 73"/> | |
| 5255 | <con:ent ry key="co unt" value ="false"/> | |
| 5256 | <con:ent ry key="as signingAut hority" va lue="EDIPI "/> | |
| 5257 | <con:ent ry key="Ac cept" valu e="applica tion/json" /> | |
| 5258 | </xml-frag ment>]]> | |
| 5259 | </con:sett ing> | |
| 5260 | </con:sett ings> | |
| 5261 | <con:endpo int> | |
| 5262 | http://DNS .DNS :80 80/ | |
| 5263 | </con:endp oint> | |
| 5264 | <con:reque st/> | |
| 5265 | <con:origi nalUri> | |
| 5266 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/histo ric | |
| 5267 | </con:orig inalUri> | |
| 5268 | <con:crede ntials> | |
| 5269 | <con:authT ype> | |
| 5270 | No Authori zation | |
| 5271 | </con:auth Type> | |
| 5272 | </con:cred entials> | |
| 5273 | <con:jmsCo nfig | |
| 5274 | JMSDeliver yMode="PER SISTENT" | |
| 5275 | /> | |
| 5276 | <con:jmsPr opertyConf ig/> | |
| 5277 | <con:param eters/> | |
| 5278 | </con:rest Request> | |
| 5279 | </con:conf ig> | |
| 5280 | </con:test Step> | |
| 5281 | <con:testS tep | |
| 5282 | type="groo vy" | |
| 5283 | name="Log Results" | |
| 5284 | id="de903e a6-ef49-4b 39-8646-40 b7e76d8977 " | |
| 5285 | > | |
| 5286 | <con:setti ngs/> | |
| 5287 | <con:confi g> | |
| 5288 | <script> | |
| 5289 | import gro ovy.json.J sonSlurper | |
| 5290 | import com .eviware.s oapui.supp ort.types. StringToSt ringMap | |
| 5291 | def header s = testRu nner.testC ase.getTes tStepByNam e("Refill Request De tails").ge tHttpReque st().getRe questHeade rs() | |
| 5292 | log.info(" * * * Head ers * * *" ); | |
| 5293 | headers.ea ch | |
| 5294 | { | |
| 5295 | key,val -> | |
| 5296 | log.info "Key = "+ key+" ; va lue="+val | |
| 5297 | } | |
| 5298 | ||
| 5299 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Ref ill Reques t Details" ).getPrope rtyValue(" response") | |
| 5300 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 5301 | def i = 0 | |
| 5302 | ||
| 5303 | log.info(" Refill Req uest Detai ls: ") | |
| 5304 | ||
| 5305 | ||
| 5306 | if (slurpe rresponse. count != n ull) { | |
| 5307 | log. info("Coun t: "+slurp erresponse .count.toS tring()) | |
| 5308 | } | |
| 5309 | if (slurpe rresponse. medication RefillRequ est != nul l) { | |
| 5310 | log. info("pati entId: "+s lurperresp onse.medic ationRefil lRequest.p atientId.t oString()) | |
| 5311 | log. info("assi gningAutho rity: "+sl urperrespo nse.medica tionRefill Request.as signingAut hority.toS tring()) | |
| 5312 | log. info("pres criptionId : "+slurpe rresponse. medication RefillRequ est.prescr iptionId.t oString()) | |
| 5313 | log. info("requ estDate: " +slurperre sponse.med icationRef illRequest .requestDa te.toStrin g()) | |
| 5314 | log. info("appS ource: "+s lurperresp onse.medic ationRefil lRequest.a ppSource.t oString()) | |
| 5315 | log. info("docC reatedDate : "+slurpe rresponse. medication RefillRequ est.docCre atedDate.t oString()) | |
| 5316 | log. info("docU pdatedDate : "+slurpe rresponse. medication RefillRequ est.docUpd atedDate.t oString()) | |
| 5317 | } | |
| 5318 | if (slurpe rresponse. medication RefillRequ ests != nu ll) { | |
| 5319 | wh ile(slurpe rresponse. medication RefillRequ ests.medic ationRefil ls._id[i] != null) | |
| 5320 | { | |
| 5321 | def counter = i + 1 | |
| 5322 | log. info("*** Refill Req uest ["+co unter+"] * **") | |
| 5323 | log. info("pati entId: "+s lurperresp onse.medic ationRefil lRequests. medication Refills.pa tientId[i] .toString( )) | |
| 5324 | log. info("assi gningAutho rity: "+sl urperrespo nse.medica tionRefill Requests.m edicationR efills.ass igningAuth ority[i].t oString()) | |
| 5325 | log. info("pres criptionId : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.prescri ptionId[i] .toString( )) | |
| 5326 | log. info("requ estDate: " +slurperre sponse.med icationRef illRequest s.medicati onRefills. requestDat e[i].toStr ing()) | |
| 5327 | log. info("appS ource: "+s lurperresp onse.medic ationRefil lRequests. medication Refills.ap pSource[i] .toString( )) | |
| 5328 | log. info("docC reatedDate : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.docCrea tedDate[i] .toString( )) | |
| 5329 | log. info("docU pdatedDate : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.docUpda tedDate[i] .toString( )) | |
| 5330 | ||
| 5331 | i++ | |
| 5332 | } | |
| 5333 | } | |
| 5334 | ||
| 5335 | </script> | |
| 5336 | </con:conf ig> | |
| 5337 | </con:test Step> | |
| 5338 | <con:prope rties/> | |
| 5339 | </con:test Case> | |
| 5340 | <con:testC ase | |
| 5341 | id="6a1cb4 8b-9c0d-45 c5-8a5f-b7 401aad3415 " | |
| 5342 | failOnErro r="true" | |
| 5343 | failTestCa seOnErrors ="true" | |
| 5344 | keepSessio n="false" | |
| 5345 | maxResults ="0" | |
| 5346 | name="Refi ll Request Details-C ount-Patie ntId" | |
| 5347 | searchProp erties="tr ue" | |
| 5348 | > | |
| 5349 | <con:setti ngs/> | |
| 5350 | <con:testS tep | |
| 5351 | type="rest request" | |
| 5352 | name="Refi ll Request Details" | |
| 5353 | id="2dc809 f8-2eda-49 93-a3ab-aa 2c41285c27 " | |
| 5354 | > | |
| 5355 | <con:setti ngs/> | |
| 5356 | <con:confi g | |
| 5357 | service="R x Refill A PI" | |
| 5358 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/refi llrequests " | |
| 5359 | methodName ="Refill R equest Det ails" | |
| 5360 | xsi:type=" con:RestRe questStep" | |
| 5361 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 5362 | > | |
| 5363 | <con:restR equest | |
| 5364 | name="Refi ll Request Details" | |
| 5365 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 5366 | mediaType= "applicati on/json" | |
| 5367 | > | |
| 5368 | <con:setti ngs> | |
| 5369 | <con:setti ng | |
| 5370 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 5371 | > | |
| 5372 | <![CDATA[< xml-fragme nt xmlns:c on="http:/ /eviware.c om/soapui/ config"> | |
| 5373 | <con:ent ry key="pa tientId" v alue="8646 73"/> | |
| 5374 | <con:ent ry key="co unt" value ="true"/> | |
| 5375 | <con:ent ry key="as signingAut hority" va lue="EDIPI "/> | |
| 5376 | <con:ent ry key="Ac cept" valu e="applica tion/json" /> | |
| 5377 | </xml-frag ment>]]> | |
| 5378 | </con:sett ing> | |
| 5379 | </con:sett ings> | |
| 5380 | <con:endpo int> | |
| 5381 | http://DNS .DNS :80 80/ | |
| 5382 | </con:endp oint> | |
| 5383 | <con:reque st/> | |
| 5384 | <con:origi nalUri> | |
| 5385 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/histo ric | |
| 5386 | </con:orig inalUri> | |
| 5387 | <con:crede ntials> | |
| 5388 | <con:authT ype> | |
| 5389 | No Authori zation | |
| 5390 | </con:auth Type> | |
| 5391 | </con:cred entials> | |
| 5392 | <con:jmsCo nfig | |
| 5393 | JMSDeliver yMode="PER SISTENT" | |
| 5394 | /> | |
| 5395 | <con:jmsPr opertyConf ig/> | |
| 5396 | <con:param eters/> | |
| 5397 | </con:rest Request> | |
| 5398 | </con:conf ig> | |
| 5399 | </con:test Step> | |
| 5400 | <con:testS tep | |
| 5401 | type="groo vy" | |
| 5402 | name="Log Results" | |
| 5403 | id="24060f 8a-f6e6-48 a6-85ee-f8 312fb34a3b " | |
| 5404 | > | |
| 5405 | <con:setti ngs/> | |
| 5406 | <con:confi g> | |
| 5407 | <script> | |
| 5408 | import gro ovy.json.J sonSlurper | |
| 5409 | import com .eviware.s oapui.supp ort.types. StringToSt ringMap | |
| 5410 | def header s = testRu nner.testC ase.getTes tStepByNam e("Refill Request De tails").ge tHttpReque st().getRe questHeade rs() | |
| 5411 | log.info(" * * * Head ers * * *" ); | |
| 5412 | headers.ea ch | |
| 5413 | { | |
| 5414 | key,val -> | |
| 5415 | log.info "Key = "+ key+" ; va lue="+val | |
| 5416 | } | |
| 5417 | ||
| 5418 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Ref ill Reques t Details" ).getPrope rtyValue(" response") | |
| 5419 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 5420 | def i = 0 | |
| 5421 | ||
| 5422 | log.info(" Refill Req uest Detai ls: ") | |
| 5423 | ||
| 5424 | ||
| 5425 | if (slurpe rresponse. count != n ull) { | |
| 5426 | log. info("Coun t: "+slurp erresponse .count.toS tring()) | |
| 5427 | } | |
| 5428 | if (slurpe rresponse. medication RefillRequ est != nul l) { | |
| 5429 | log. info("pati entId: "+s lurperresp onse.medic ationRefil lRequest.p atientId.t oString()) | |
| 5430 | log. info("assi gningAutho rity: "+sl urperrespo nse.medica tionRefill Request.as signingAut hority.toS tring()) | |
| 5431 | log. info("pres criptionId : "+slurpe rresponse. medication RefillRequ est.prescr iptionId.t oString()) | |
| 5432 | log. info("requ estDate: " +slurperre sponse.med icationRef illRequest .requestDa te.toStrin g()) | |
| 5433 | log. info("appS ource: "+s lurperresp onse.medic ationRefil lRequest.a ppSource.t oString()) | |
| 5434 | log. info("docC reatedDate : "+slurpe rresponse. medication RefillRequ est.docCre atedDate.t oString()) | |
| 5435 | log. info("docU pdatedDate : "+slurpe rresponse. medication RefillRequ est.docUpd atedDate.t oString()) | |
| 5436 | } | |
| 5437 | if (slurpe rresponse. medication RefillRequ ests != nu ll) { | |
| 5438 | wh ile(slurpe rresponse. medication RefillRequ ests.medic ationRefil ls._id[i] != null) | |
| 5439 | { | |
| 5440 | def counter = i + 1 | |
| 5441 | log. info("*** Refill Req uest ["+co unter+"] * **") | |
| 5442 | log. info("pati entId: "+s lurperresp onse.medic ationRefil lRequests. medication Refills.pa tientId[i] .toString( )) | |
| 5443 | log. info("assi gningAutho rity: "+sl urperrespo nse.medica tionRefill Requests.m edicationR efills.ass igningAuth ority[i].t oString()) | |
| 5444 | log. info("pres criptionId : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.prescri ptionId[i] .toString( )) | |
| 5445 | log. info("requ estDate: " +slurperre sponse.med icationRef illRequest s.medicati onRefills. requestDat e[i].toStr ing()) | |
| 5446 | log. info("appS ource: "+s lurperresp onse.medic ationRefil lRequests. medication Refills.ap pSource[i] .toString( )) | |
| 5447 | log. info("docC reatedDate : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.docCrea tedDate[i] .toString( )) | |
| 5448 | log. info("docU pdatedDate : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.docUpda tedDate[i] .toString( )) | |
| 5449 | ||
| 5450 | i++ | |
| 5451 | } | |
| 5452 | } | |
| 5453 | ||
| 5454 | </script> | |
| 5455 | </con:conf ig> | |
| 5456 | </con:test Step> | |
| 5457 | <con:prope rties/> | |
| 5458 | </con:test Case> | |
| 5459 | <con:testC ase | |
| 5460 | id="02cfc4 61-407f-46 ff-bce5-72 3e4e8eda96 " | |
| 5461 | failOnErro r="true" | |
| 5462 | failTestCa seOnErrors ="true" | |
| 5463 | keepSessio n="false" | |
| 5464 | maxResults ="0" | |
| 5465 | name="Refi ll Request Details-N oData-Pati entId" | |
| 5466 | searchProp erties="tr ue" | |
| 5467 | > | |
| 5468 | <con:setti ngs/> | |
| 5469 | <con:testS tep | |
| 5470 | type="rest request" | |
| 5471 | name="Refi ll Request Details" | |
| 5472 | id="e18296 49-85e4-4c dd-b528-0f 1c8d5898e2 " | |
| 5473 | > | |
| 5474 | <con:setti ngs/> | |
| 5475 | <con:confi g | |
| 5476 | service="R x Refill A PI" | |
| 5477 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/refi llrequests " | |
| 5478 | methodName ="Refill R equest Det ails" | |
| 5479 | xsi:type=" con:RestRe questStep" | |
| 5480 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 5481 | > | |
| 5482 | <con:restR equest | |
| 5483 | name="Refi ll Request Details" | |
| 5484 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 5485 | mediaType= "applicati on/json" | |
| 5486 | > | |
| 5487 | <con:setti ngs> | |
| 5488 | <con:setti ng | |
| 5489 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 5490 | > | |
| 5491 | <![CDATA[< xml-fragme nt xmlns:c on="http:/ /eviware.c om/soapui/ config"> | |
| 5492 | <con:ent ry key="pa tientId" v alue="1234 56"/> | |
| 5493 | <con:ent ry key="co unt" value ="false"/> | |
| 5494 | <con:ent ry key="as signingAut hority" va lue="EDIPI "/> | |
| 5495 | <con:ent ry key="Ac cept" valu e="applica tion/json" /> | |
| 5496 | </xml-frag ment>]]> | |
| 5497 | </con:sett ing> | |
| 5498 | </con:sett ings> | |
| 5499 | <con:endpo int> | |
| 5500 | http://DNS .DNS :80 80/ | |
| 5501 | </con:endp oint> | |
| 5502 | <con:reque st/> | |
| 5503 | <con:origi nalUri> | |
| 5504 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/histo ric | |
| 5505 | </con:orig inalUri> | |
| 5506 | <con:crede ntials> | |
| 5507 | <con:authT ype> | |
| 5508 | No Authori zation | |
| 5509 | </con:auth Type> | |
| 5510 | </con:cred entials> | |
| 5511 | <con:jmsCo nfig | |
| 5512 | JMSDeliver yMode="PER SISTENT" | |
| 5513 | /> | |
| 5514 | <con:jmsPr opertyConf ig/> | |
| 5515 | <con:param eters/> | |
| 5516 | </con:rest Request> | |
| 5517 | </con:conf ig> | |
| 5518 | </con:test Step> | |
| 5519 | <con:testS tep | |
| 5520 | type="groo vy" | |
| 5521 | name="Log Results" | |
| 5522 | id="2b1bdf a1-cd7c-4c 80-a3b5-ca ea12937947 " | |
| 5523 | > | |
| 5524 | <con:setti ngs/> | |
| 5525 | <con:confi g> | |
| 5526 | <script> | |
| 5527 | import gro ovy.json.J sonSlurper | |
| 5528 | import com .eviware.s oapui.supp ort.types. StringToSt ringMap | |
| 5529 | def header s = testRu nner.testC ase.getTes tStepByNam e("Refill Request De tails").ge tHttpReque st().getRe questHeade rs() | |
| 5530 | log.info(" * * * Head ers * * *" ); | |
| 5531 | headers.ea ch | |
| 5532 | { | |
| 5533 | key,val -> | |
| 5534 | log.info "Key = "+ key+" ; va lue="+val | |
| 5535 | } | |
| 5536 | ||
| 5537 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Ref ill Reques t Details" ).getPrope rtyValue(" response") | |
| 5538 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 5539 | def i = 0 | |
| 5540 | def rec_co unt = 0 | |
| 5541 | ||
| 5542 | log.info(" Refill Req uest Detai ls: ") | |
| 5543 | ||
| 5544 | ||
| 5545 | if (slurpe rresponse. count != n ull) { | |
| 5546 | log. info("Coun t: "+slurp erresponse .count.toS tring()) | |
| 5547 | rec_ count++ | |
| 5548 | } | |
| 5549 | if (slurpe rresponse. medication RefillRequ est != nul l) { | |
| 5550 | log. info("pati entId: "+s lurperresp onse.medic ationRefil lRequest.p atientId.t oString()) | |
| 5551 | log. info("assi gningAutho rity: "+sl urperrespo nse.medica tionRefill Request.as signingAut hority.toS tring()) | |
| 5552 | log. info("pres criptionId : "+slurpe rresponse. medication RefillRequ est.prescr iptionId.t oString()) | |
| 5553 | log. info("requ estDate: " +slurperre sponse.med icationRef illRequest .requestDa te.toStrin g()) | |
| 5554 | log. info("appS ource: "+s lurperresp onse.medic ationRefil lRequest.a ppSource.t oString()) | |
| 5555 | log. info("docC reatedDate : "+slurpe rresponse. medication RefillRequ est.docCre atedDate.t oString()) | |
| 5556 | log. info("docU pdatedDate : "+slurpe rresponse. medication RefillRequ est.docUpd atedDate.t oString()) | |
| 5557 | rec_ count++ | |
| 5558 | } | |
| 5559 | if (slurpe rresponse. medication RefillRequ ests != nu ll) { | |
| 5560 | wh ile(slurpe rresponse. medication RefillRequ ests.medic ationRefil ls._id[i] != null) | |
| 5561 | { | |
| 5562 | def counter = i + 1 | |
| 5563 | log. info("*** Refill Req uest ["+co unter+"] * **") | |
| 5564 | log. info("pati entId: "+s lurperresp onse.medic ationRefil lRequests. medication Refills.pa tientId[i] .toString( )) | |
| 5565 | log. info("assi gningAutho rity: "+sl urperrespo nse.medica tionRefill Requests.m edicationR efills.ass igningAuth ority[i].t oString()) | |
| 5566 | log. info("pres criptionId : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.prescri ptionId[i] .toString( )) | |
| 5567 | log. info("requ estDate: " +slurperre sponse.med icationRef illRequest s.medicati onRefills. requestDat e[i].toStr ing()) | |
| 5568 | log. info("appS ource: "+s lurperresp onse.medic ationRefil lRequests. medication Refills.ap pSource[i] .toString( )) | |
| 5569 | log. info("docC reatedDate : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.docCrea tedDate[i] .toString( )) | |
| 5570 | log. info("docU pdatedDate : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.docUpda tedDate[i] .toString( )) | |
| 5571 | ||
| 5572 | i++ | |
| 5573 | } | |
| 5574 | re c_count++ | |
| 5575 | } | |
| 5576 | ||
| 5577 | if (rec_co unt == 0) { | |
| 5578 | lo g.info("No data foun d") | |
| 5579 | } | |
| 5580 | </script> | |
| 5581 | </con:conf ig> | |
| 5582 | </con:test Step> | |
| 5583 | <con:prope rties/> | |
| 5584 | </con:test Case> | |
| 5585 | <con:testC ase | |
| 5586 | id="2cbfdd 0c-6233-4e dd-abd7-45 df8e1bb77c " | |
| 5587 | failOnErro r="true" | |
| 5588 | failTestCa seOnErrors ="true" | |
| 5589 | keepSessio n="false" | |
| 5590 | maxResults ="0" | |
| 5591 | name="Refi ll Request Details-N oData-Date Range" | |
| 5592 | searchProp erties="tr ue" | |
| 5593 | > | |
| 5594 | <con:setti ngs/> | |
| 5595 | <con:testS tep | |
| 5596 | type="rest request" | |
| 5597 | name="Refi ll Request Details" | |
| 5598 | id="aac9b9 c4-3029-4f e6-91b1-e5 8fb4769c89 " | |
| 5599 | > | |
| 5600 | <con:setti ngs/> | |
| 5601 | <con:confi g | |
| 5602 | service="R x Refill A PI" | |
| 5603 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/refi llrequests " | |
| 5604 | methodName ="Refill R equest Det ails" | |
| 5605 | xsi:type=" con:RestRe questStep" | |
| 5606 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 5607 | > | |
| 5608 | <con:restR equest | |
| 5609 | name="Refi ll Request Details" | |
| 5610 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 5611 | mediaType= "applicati on/json" | |
| 5612 | > | |
| 5613 | <con:setti ngs> | |
| 5614 | <con:setti ng | |
| 5615 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 5616 | > | |
| 5617 | <![CDATA[< xml-fragme nt xmlns:c on="http:/ /eviware.c om/soapui/ config"> | |
| 5618 | <con:ent ry key="st artDate" v alue="Tue, 1 Apr 201 4 00:00:00 EDT"/> | |
| 5619 | <con:ent ry key="pa tientId" v alue="8646 73"/> | |
| 5620 | <con:ent ry key="co unt" value ="false"/> | |
| 5621 | <con:ent ry key="as signingAut hority" va lue="EDIPI "/> | |
| 5622 | <con:ent ry key="en dDate" val ue="Fri, 3 0 May 2014 00:00:00 EDT"/> | |
| 5623 | <con:ent ry key="Ac cept" valu e="applica tion/json" /> | |
| 5624 | </xml-frag ment>]]> | |
| 5625 | </con:sett ing> | |
| 5626 | </con:sett ings> | |
| 5627 | <con:endpo int> | |
| 5628 | http://DNS .DNS :80 80/ | |
| 5629 | </con:endp oint> | |
| 5630 | <con:reque st/> | |
| 5631 | <con:origi nalUri> | |
| 5632 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/histo ric | |
| 5633 | </con:orig inalUri> | |
| 5634 | <con:crede ntials> | |
| 5635 | <con:authT ype> | |
| 5636 | No Authori zation | |
| 5637 | </con:auth Type> | |
| 5638 | </con:cred entials> | |
| 5639 | <con:jmsCo nfig | |
| 5640 | JMSDeliver yMode="PER SISTENT" | |
| 5641 | /> | |
| 5642 | <con:jmsPr opertyConf ig/> | |
| 5643 | <con:param eters/> | |
| 5644 | </con:rest Request> | |
| 5645 | </con:conf ig> | |
| 5646 | </con:test Step> | |
| 5647 | <con:testS tep | |
| 5648 | type="groo vy" | |
| 5649 | name="Log Results" | |
| 5650 | id="27a7c2 b0-42ea-4b 3d-b3d4-d0 8974ecc90a " | |
| 5651 | > | |
| 5652 | <con:setti ngs/> | |
| 5653 | <con:confi g> | |
| 5654 | <script> | |
| 5655 | import gro ovy.json.J sonSlurper | |
| 5656 | import com .eviware.s oapui.supp ort.types. StringToSt ringMap | |
| 5657 | def header s = testRu nner.testC ase.getTes tStepByNam e("Refill Request De tails").ge tHttpReque st().getRe questHeade rs() | |
| 5658 | log.info(" * * * Head ers * * *" ); | |
| 5659 | headers.ea ch | |
| 5660 | { | |
| 5661 | key,val -> | |
| 5662 | log.info "Key = "+ key+" ; va lue="+val | |
| 5663 | } | |
| 5664 | ||
| 5665 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Ref ill Reques t Details" ).getPrope rtyValue(" response") | |
| 5666 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 5667 | def i = 0 | |
| 5668 | def rec_co unt = 0 | |
| 5669 | ||
| 5670 | log.info(" Refill Req uest Detai ls: ") | |
| 5671 | ||
| 5672 | ||
| 5673 | if (slurpe rresponse. count != n ull) { | |
| 5674 | log. info("Coun t: "+slurp erresponse .count.toS tring()) | |
| 5675 | rec_ count++ | |
| 5676 | } | |
| 5677 | if (slurpe rresponse. medication RefillRequ est != nul l) { | |
| 5678 | log. info("pati entId: "+s lurperresp onse.medic ationRefil lRequest.p atientId.t oString()) | |
| 5679 | log. info("assi gningAutho rity: "+sl urperrespo nse.medica tionRefill Request.as signingAut hority.toS tring()) | |
| 5680 | log. info("pres criptionId : "+slurpe rresponse. medication RefillRequ est.prescr iptionId.t oString()) | |
| 5681 | log. info("requ estDate: " +slurperre sponse.med icationRef illRequest .requestDa te.toStrin g()) | |
| 5682 | log. info("appS ource: "+s lurperresp onse.medic ationRefil lRequest.a ppSource.t oString()) | |
| 5683 | log. info("docC reatedDate : "+slurpe rresponse. medication RefillRequ est.docCre atedDate.t oString()) | |
| 5684 | log. info("docU pdatedDate : "+slurpe rresponse. medication RefillRequ est.docUpd atedDate.t oString()) | |
| 5685 | rec_ count++ | |
| 5686 | } | |
| 5687 | if (slurpe rresponse. medication RefillRequ ests != nu ll) { | |
| 5688 | wh ile(slurpe rresponse. medication RefillRequ ests.medic ationRefil ls._id[i] != null) | |
| 5689 | { | |
| 5690 | def counter = i + 1 | |
| 5691 | log. info("*** Refill Req uest ["+co unter+"] * **") | |
| 5692 | log. info("pati entId: "+s lurperresp onse.medic ationRefil lRequests. medication Refills.pa tientId[i] .toString( )) | |
| 5693 | log. info("assi gningAutho rity: "+sl urperrespo nse.medica tionRefill Requests.m edicationR efills.ass igningAuth ority[i].t oString()) | |
| 5694 | log. info("pres criptionId : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.prescri ptionId[i] .toString( )) | |
| 5695 | log. info("requ estDate: " +slurperre sponse.med icationRef illRequest s.medicati onRefills. requestDat e[i].toStr ing()) | |
| 5696 | log. info("appS ource: "+s lurperresp onse.medic ationRefil lRequests. medication Refills.ap pSource[i] .toString( )) | |
| 5697 | log. info("docC reatedDate : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.docCrea tedDate[i] .toString( )) | |
| 5698 | log. info("docU pdatedDate : "+slurpe rresponse. medication RefillRequ ests.medic ationRefil ls.docUpda tedDate[i] .toString( )) | |
| 5699 | ||
| 5700 | i++ | |
| 5701 | } | |
| 5702 | re c_count++ | |
| 5703 | } | |
| 5704 | ||
| 5705 | if (rec_co unt == 0) { | |
| 5706 | lo g.info("No data foun d") | |
| 5707 | } | |
| 5708 | </script> | |
| 5709 | </con:conf ig> | |
| 5710 | </con:test Step> | |
| 5711 | <con:prope rties/> | |
| 5712 | </con:test Case> | |
| 5713 | <con:testC ase | |
| 5714 | id="0383bd 35-2ce0-45 0b-9bc0-1c 5ef7f7220a " | |
| 5715 | failOnErro r="true" | |
| 5716 | failTestCa seOnErrors ="true" | |
| 5717 | keepSessio n="false" | |
| 5718 | maxResults ="0" | |
| 5719 | name="Get Refillable Rx" | |
| 5720 | searchProp erties="tr ue" | |
| 5721 | > | |
| 5722 | <con:setti ngs/> | |
| 5723 | <con:testS tep | |
| 5724 | type="rest request" | |
| 5725 | name="Crea te Session " | |
| 5726 | id="16bf11 b4-4bf5-49 16-92d9-68 edc8d207dc " | |
| 5727 | > | |
| 5728 | <con:setti ngs/> | |
| 5729 | <con:confi g | |
| 5730 | service="R x Refill A PI" | |
| 5731 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 5732 | methodName ="Session" | |
| 5733 | xsi:type=" con:RestRe questStep" | |
| 5734 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 5735 | > | |
| 5736 | <con:restR equest | |
| 5737 | name="Crea te Session " | |
| 5738 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 5739 | mediaType= "applicati on/json" | |
| 5740 | postQueryS tring="fal se" | |
| 5741 | > | |
| 5742 | <con:setti ngs> | |
| 5743 | <con:setti ng | |
| 5744 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 5745 | > | |
| 5746 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 5747 | <con: entry key= "Authoriza tion" valu e="Bearer b9b9f29a-1 eb4-4f80-9 13b-7da5db b67f8c"/> | |
| 5748 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 5749 | </xml-f ragment> | |
| 5750 | </con:sett ing> | |
| 5751 | </con:sett ings> | |
| 5752 | <con:endpo int> | |
| 5753 | https://DN S.DNS | |
| 5754 | </con:endp oint> | |
| 5755 | <con:reque st/> | |
| 5756 | <con:origi nalUri> | |
| 5757 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 5758 | </con:orig inalUri> | |
| 5759 | <con:crede ntials> | |
| 5760 | <con:authT ype> | |
| 5761 | No Authori zation | |
| 5762 | </con:auth Type> | |
| 5763 | </con:cred entials> | |
| 5764 | <con:jmsCo nfig | |
| 5765 | JMSDeliver yMode="PER SISTENT" | |
| 5766 | /> | |
| 5767 | <con:jmsPr opertyConf ig/> | |
| 5768 | <con:param eters> | |
| 5769 | <entry | |
| 5770 | key="patie ntid" | |
| 5771 | value="101 5228322" | |
| 5772 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 5773 | /> | |
| 5774 | </con:para meters> | |
| 5775 | <con:param eterOrder> | |
| 5776 | <con:entry > | |
| 5777 | patientid | |
| 5778 | </con:entr y> | |
| 5779 | </con:para meterOrder > | |
| 5780 | </con:rest Request> | |
| 5781 | </con:conf ig> | |
| 5782 | </con:test Step> | |
| 5783 | <con:testS tep | |
| 5784 | type="groo vy" | |
| 5785 | name="Set session va riables" | |
| 5786 | id="18a8e2 db-d91f-42 ee-8c9c-1a c77add66bb " | |
| 5787 | > | |
| 5788 | <con:setti ngs/> | |
| 5789 | <con:confi g> | |
| 5790 | <script> | |
| 5791 | import gro ovy.json.J sonSlurper | |
| 5792 | ||
| 5793 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Cre ate Sessio n").getPro pertyValue ("response ") | |
| 5794 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 5795 | ||
| 5796 | def token = slurperr esponse.to ken | |
| 5797 | def expire s = slurpe rresponse. expiresDat e | |
| 5798 | ||
| 5799 | testRunner .testCase. setPropert yValue("To ken",token ) | |
| 5800 | ||
| 5801 | log.info(" Session to ken: "+tok en.toStrin g()) | |
| 5802 | log.info(" Token expi res: "+exp ires.toStr ing()) | |
| 5803 | ||
| 5804 | assert (to ken.length ()) > 0 | |
| 5805 | assert (ex pires.leng th()) > 0 | |
| 5806 | </script> | |
| 5807 | </con:conf ig> | |
| 5808 | </con:test Step> | |
| 5809 | <con:testS tep | |
| 5810 | type="rest request" | |
| 5811 | name="Get Refillable " | |
| 5812 | id="52338f 1e-bf62-49 52-bd9c-74 f539952c9d " | |
| 5813 | > | |
| 5814 | <con:setti ngs/> | |
| 5815 | <con:confi g | |
| 5816 | service="R x Refill A PI" | |
| 5817 | resourcePa th="/RxRef illService s/v2/patie nt/prescri ption/refi llable" | |
| 5818 | methodName ="Refillab le Rx" | |
| 5819 | xsi:type=" con:RestRe questStep" | |
| 5820 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 5821 | > | |
| 5822 | <con:restR equest | |
| 5823 | name="Get Refillable " | |
| 5824 | id="adef94 a7-b452-4e 7b-b938-14 478d0fb508 " | |
| 5825 | mediaType= "applicati on/json" | |
| 5826 | > | |
| 5827 | <con:setti ngs> | |
| 5828 | <con:setti ng | |
| 5829 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 5830 | > | |
| 5831 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 5832 | <con: entry key= "Authoriza tion" valu e="Bearer b9b9f29a-1 eb4-4f80-9 13b-7da5db b67f8c"/> | |
| 5833 | <con: entry key= "Token" va lue="${#Te stCase#Tok en}"/> | |
| 5834 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 5835 | </xml-f ragment> | |
| 5836 | </con:sett ing> | |
| 5837 | </con:sett ings> | |
| 5838 | <con:endpo int> | |
| 5839 | https://vD NS..DNS | |
| 5840 | </con:endp oint> | |
| 5841 | <con:reque st/> | |
| 5842 | <con:origi nalUri> | |
| 5843 | http://loc alhost/RxR efillServi ces/patien t/prescrip tion/activ e | |
| 5844 | </con:orig inalUri> | |
| 5845 | <con:crede ntials> | |
| 5846 | <con:authT ype> | |
| 5847 | No Authori zation | |
| 5848 | </con:auth Type> | |
| 5849 | </con:cred entials> | |
| 5850 | <con:jmsCo nfig | |
| 5851 | JMSDeliver yMode="PER SISTENT" | |
| 5852 | /> | |
| 5853 | <con:jmsPr opertyConf ig/> | |
| 5854 | <con:param eters/> | |
| 5855 | </con:rest Request> | |
| 5856 | </con:conf ig> | |
| 5857 | </con:test Step> | |
| 5858 | <con:testS tep | |
| 5859 | type="groo vy" | |
| 5860 | name="Log Results" | |
| 5861 | id="b772e9 ed-bf22-44 36-a605-b8 6ea45f608d " | |
| 5862 | > | |
| 5863 | <con:setti ngs/> | |
| 5864 | <con:confi g> | |
| 5865 | <script> | |
| 5866 | import gro ovy.json.J sonSlurper | |
| 5867 | ||
| 5868 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName("Get Refillabl e").getPro pertyValue ("response ") | |
| 5869 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 5870 | def i = 0 | |
| 5871 | ||
| 5872 | log.info(" Refillable Rx Respon se: ") | |
| 5873 | while(slur perrespons e.prescrip tionList.p rescriptio nNumber[i] != null) | |
| 5874 | { | |
| 5875 | de f counter = i + 1 | |
| 5876 | lo g.info("** * Refillab le Rx ["+c ounter+"] ***") | |
| 5877 | lo g.info("pr escription Number: "+ slurperres ponse.pres criptionLi st.prescri ptionNumbe r[i].toStr ing()) | |
| 5878 | log.i nfo("presc riptionNam e: "+slurp erresponse .prescript ionList.pr escription Name[i].to String()) | |
| 5879 | lo g.info("re fillStatus : "+slurpe rresponse. prescripti onList.ref illStatus[ i].toStrin g()) | |
| 5880 | log.i nfo("refil lDate: "+s lurperresp onse.presc riptionLis t.refillDa te[i].toSt ring()) | |
| 5881 | log.i nfo("refil lRemaining : "+slurpe rresponse. prescripti onList.ref illRemaini ng[i].toSt ring()) | |
| 5882 | log.i nfo("facil ityName: " +slurperre sponse.pre scriptionL ist.facili tyName[i]. toString() ) | |
| 5883 | log.i nfo("isRef illable: " +slurperre sponse.pre scriptionL ist.isRefi llable[i]. toString() ) | |
| 5884 | log.i nfo("isTra ckable: "+ slurperres ponse.pres criptionLi st.isTrack able[i].to String()) | |
| 5885 | log.i nfo("presc riptionId: "+slurper response.p rescriptio nList.pres criptionId [i].toStri ng()) | |
| 5886 | log.i nfo("order edDate: "+ slurperres ponse.pres criptionLi st.ordered Date[i].to String()) | |
| 5887 | log.i nfo("quant ity: "+slu rperrespon se.prescri ptionList. quantity[i ].toString ()) | |
| 5888 | log.i nfo("expir ationDate: "+slurper response.p rescriptio nList.expi rationDate [i].toStri ng()) | |
| 5889 | log.i nfo("stati onNumber: "+slurperr esponse.pr escription List.stati onNumber[i ].toString ()) | |
| 5890 | ||
| 5891 | i+ + | |
| 5892 | } | |
| 5893 | ||
| 5894 | </script> | |
| 5895 | </con:conf ig> | |
| 5896 | </con:test Step> | |
| 5897 | <con:prope rties/> | |
| 5898 | </con:test Case> | |
| 5899 | <con:testC ase | |
| 5900 | id="0dd33a 56-b7f1-44 02-b092-f4 d958036df4 " | |
| 5901 | failOnErro r="true" | |
| 5902 | failTestCa seOnErrors ="true" | |
| 5903 | keepSessio n="false" | |
| 5904 | maxResults ="0" | |
| 5905 | name="User Friendly Error Mess ages" | |
| 5906 | searchProp erties="tr ue" | |
| 5907 | > | |
| 5908 | <con:setti ngs/> | |
| 5909 | <con:testS tep | |
| 5910 | type="rest request" | |
| 5911 | name="Get Session 99 " | |
| 5912 | id="d985b3 c6-1df6-4c 07-9122-3b 4bc76a14cc " | |
| 5913 | > | |
| 5914 | <con:setti ngs/> | |
| 5915 | <con:confi g | |
| 5916 | service="R x Refill A PI" | |
| 5917 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 5918 | methodName ="Session" | |
| 5919 | xsi:type=" con:RestRe questStep" | |
| 5920 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 5921 | > | |
| 5922 | <con:restR equest | |
| 5923 | name="Get Session 99 " | |
| 5924 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 5925 | mediaType= "applicati on/json" | |
| 5926 | postQueryS tring="fal se" | |
| 5927 | > | |
| 5928 | <con:setti ngs> | |
| 5929 | <con:setti ng | |
| 5930 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 5931 | > | |
| 5932 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 5933 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 5934 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 5935 | </xml-f ragment> | |
| 5936 | </con:sett ing> | |
| 5937 | </con:sett ings> | |
| 5938 | <con:endpo int> | |
| 5939 | http://loc alhost:808 0 | |
| 5940 | </con:endp oint> | |
| 5941 | <con:reque st/> | |
| 5942 | <con:origi nalUri> | |
| 5943 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 5944 | </con:orig inalUri> | |
| 5945 | <con:crede ntials> | |
| 5946 | <con:authT ype> | |
| 5947 | No Authori zation | |
| 5948 | </con:auth Type> | |
| 5949 | </con:cred entials> | |
| 5950 | <con:jmsCo nfig | |
| 5951 | JMSDeliver yMode="PER SISTENT" | |
| 5952 | /> | |
| 5953 | <con:jmsPr opertyConf ig/> | |
| 5954 | <con:param eters> | |
| 5955 | <entry | |
| 5956 | key="patie ntid" | |
| 5957 | value="99" | |
| 5958 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 5959 | /> | |
| 5960 | </con:para meters> | |
| 5961 | <con:param eterOrder> | |
| 5962 | <con:entry > | |
| 5963 | patientid | |
| 5964 | </con:entr y> | |
| 5965 | </con:para meterOrder > | |
| 5966 | </con:rest Request> | |
| 5967 | </con:conf ig> | |
| 5968 | </con:test Step> | |
| 5969 | <con:testS tep | |
| 5970 | type="groo vy" | |
| 5971 | name="Log Results 99 " | |
| 5972 | id="238a05 cb-98d7-45 e2-bcc1-00 684a957362 " | |
| 5973 | > | |
| 5974 | <con:setti ngs/> | |
| 5975 | <con:confi g> | |
| 5976 | <script> | |
| 5977 | import gro ovy.json.J sonSlurper | |
| 5978 | ||
| 5979 | def stepNa me = "Get Session 99 " | |
| 5980 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 5981 | ||
| 5982 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 5983 | ||
| 5984 | def status = slurper response.s tatus | |
| 5985 | def errorC ode = slur perrespons e.errorCod e | |
| 5986 | def messag e = slurpe rresponse. message | |
| 5987 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 5988 | ||
| 5989 | log.info(" Test Step: "+stepNam e) | |
| 5990 | log.info(" Status: "+ status.toS tring()) | |
| 5991 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 5992 | log.info(" Message: " +message.t oString()) | |
| 5993 | log.info(" Developer Message: " +developer Message.to String()) | |
| 5994 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 5995 | ||
| 5996 | assert sta tus == 400 | |
| 5997 | </script> | |
| 5998 | </con:conf ig> | |
| 5999 | </con:test Step> | |
| 6000 | <con:testS tep | |
| 6001 | type="rest request" | |
| 6002 | name="Get Session 90 1" | |
| 6003 | id="7c23ba f5-a2b8-4e 24-9292-1b 73a8444ff9 " | |
| 6004 | > | |
| 6005 | <con:setti ngs/> | |
| 6006 | <con:confi g | |
| 6007 | service="R x Refill A PI" | |
| 6008 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 6009 | methodName ="Session" | |
| 6010 | xsi:type=" con:RestRe questStep" | |
| 6011 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 6012 | > | |
| 6013 | <con:restR equest | |
| 6014 | name="Get Session 90 1" | |
| 6015 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 6016 | mediaType= "applicati on/json" | |
| 6017 | postQueryS tring="fal se" | |
| 6018 | > | |
| 6019 | <con:setti ngs> | |
| 6020 | <con:setti ng | |
| 6021 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 6022 | > | |
| 6023 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 6024 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 6025 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 6026 | </xml-f ragment> | |
| 6027 | </con:sett ing> | |
| 6028 | </con:sett ings> | |
| 6029 | <con:endpo int> | |
| 6030 | http://loc alhost:808 0 | |
| 6031 | </con:endp oint> | |
| 6032 | <con:reque st/> | |
| 6033 | <con:origi nalUri> | |
| 6034 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 6035 | </con:orig inalUri> | |
| 6036 | <con:crede ntials> | |
| 6037 | <con:authT ype> | |
| 6038 | No Authori zation | |
| 6039 | </con:auth Type> | |
| 6040 | </con:cred entials> | |
| 6041 | <con:jmsCo nfig | |
| 6042 | JMSDeliver yMode="PER SISTENT" | |
| 6043 | /> | |
| 6044 | <con:jmsPr opertyConf ig/> | |
| 6045 | <con:param eters> | |
| 6046 | <entry | |
| 6047 | key="patie ntid" | |
| 6048 | value="901 " | |
| 6049 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 6050 | /> | |
| 6051 | </con:para meters> | |
| 6052 | <con:param eterOrder> | |
| 6053 | <con:entry > | |
| 6054 | patientid | |
| 6055 | </con:entr y> | |
| 6056 | </con:para meterOrder > | |
| 6057 | </con:rest Request> | |
| 6058 | </con:conf ig> | |
| 6059 | </con:test Step> | |
| 6060 | <con:testS tep | |
| 6061 | type="groo vy" | |
| 6062 | name="Log Results 90 1" | |
| 6063 | id="e9344e 81-830f-4f c9-9841-ab d6f114bdd7 " | |
| 6064 | > | |
| 6065 | <con:setti ngs/> | |
| 6066 | <con:confi g> | |
| 6067 | <script> | |
| 6068 | import gro ovy.json.J sonSlurper | |
| 6069 | ||
| 6070 | def stepNa me = "Get Session 90 1" | |
| 6071 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 6072 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 6073 | ||
| 6074 | def status = slurper response.s tatus | |
| 6075 | def errorC ode = slur perrespons e.errorCod e | |
| 6076 | def messag e = slurpe rresponse. message | |
| 6077 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 6078 | ||
| 6079 | log.info(" Test Step: "+stepNam e) | |
| 6080 | log.info(" Status: "+ status.toS tring()) | |
| 6081 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 6082 | log.info(" Message: " +message.t oString()) | |
| 6083 | log.info(" Developer Message: " +developer Message.to String()) | |
| 6084 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 6085 | ||
| 6086 | assert sta tus == 400 | |
| 6087 | </script> | |
| 6088 | </con:conf ig> | |
| 6089 | </con:test Step> | |
| 6090 | <con:testS tep | |
| 6091 | type="rest request" | |
| 6092 | name="Get Session 90 4" | |
| 6093 | id="b43fe4 9d-f830-43 e2-b8d8-9c 06f828f7de " | |
| 6094 | > | |
| 6095 | <con:setti ngs/> | |
| 6096 | <con:confi g | |
| 6097 | service="R x Refill A PI" | |
| 6098 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 6099 | methodName ="Session" | |
| 6100 | xsi:type=" con:RestRe questStep" | |
| 6101 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 6102 | > | |
| 6103 | <con:restR equest | |
| 6104 | name="Get Session 90 4" | |
| 6105 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 6106 | mediaType= "applicati on/json" | |
| 6107 | postQueryS tring="fal se" | |
| 6108 | > | |
| 6109 | <con:setti ngs> | |
| 6110 | <con:setti ng | |
| 6111 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 6112 | > | |
| 6113 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 6114 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 6115 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 6116 | </xml-f ragment> | |
| 6117 | </con:sett ing> | |
| 6118 | </con:sett ings> | |
| 6119 | <con:endpo int> | |
| 6120 | http://loc alhost:808 0 | |
| 6121 | </con:endp oint> | |
| 6122 | <con:reque st/> | |
| 6123 | <con:origi nalUri> | |
| 6124 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 6125 | </con:orig inalUri> | |
| 6126 | <con:crede ntials> | |
| 6127 | <con:authT ype> | |
| 6128 | No Authori zation | |
| 6129 | </con:auth Type> | |
| 6130 | </con:cred entials> | |
| 6131 | <con:jmsCo nfig | |
| 6132 | JMSDeliver yMode="PER SISTENT" | |
| 6133 | /> | |
| 6134 | <con:jmsPr opertyConf ig/> | |
| 6135 | <con:param eters> | |
| 6136 | <entry | |
| 6137 | key="patie ntid" | |
| 6138 | value="904 " | |
| 6139 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 6140 | /> | |
| 6141 | </con:para meters> | |
| 6142 | <con:param eterOrder> | |
| 6143 | <con:entry > | |
| 6144 | patientid | |
| 6145 | </con:entr y> | |
| 6146 | </con:para meterOrder > | |
| 6147 | </con:rest Request> | |
| 6148 | </con:conf ig> | |
| 6149 | </con:test Step> | |
| 6150 | <con:testS tep | |
| 6151 | type="groo vy" | |
| 6152 | name="Log Results 90 4" | |
| 6153 | id="3da140 cf-afa6-4e 98-8a5d-51 f77e9e8870 " | |
| 6154 | > | |
| 6155 | <con:setti ngs/> | |
| 6156 | <con:confi g> | |
| 6157 | <script> | |
| 6158 | import gro ovy.json.J sonSlurper | |
| 6159 | ||
| 6160 | def stepNa me = "Get Session 90 4" | |
| 6161 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 6162 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 6163 | ||
| 6164 | def status = slurper response.s tatus | |
| 6165 | def errorC ode = slur perrespons e.errorCod e | |
| 6166 | def messag e = slurpe rresponse. message | |
| 6167 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 6168 | ||
| 6169 | log.info(" Test Step: "+stepNam e) | |
| 6170 | log.info(" Status: "+ status.toS tring()) | |
| 6171 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 6172 | log.info(" Message: " +message.t oString()) | |
| 6173 | log.info(" Developer Message: " +developer Message.to String()) | |
| 6174 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 6175 | ||
| 6176 | assert sta tus == 400 | |
| 6177 | </script> | |
| 6178 | </con:conf ig> | |
| 6179 | </con:test Step> | |
| 6180 | <con:testS tep | |
| 6181 | type="rest request" | |
| 6182 | name="Get Session 10 1" | |
| 6183 | id="c8bb92 3f-42ef-49 4e-beeb-a5 6d32f5ef05 " | |
| 6184 | > | |
| 6185 | <con:setti ngs/> | |
| 6186 | <con:confi g | |
| 6187 | service="R x Refill A PI" | |
| 6188 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 6189 | methodName ="Session" | |
| 6190 | xsi:type=" con:RestRe questStep" | |
| 6191 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 6192 | > | |
| 6193 | <con:restR equest | |
| 6194 | name="Get Session 10 1" | |
| 6195 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 6196 | mediaType= "applicati on/json" | |
| 6197 | postQueryS tring="fal se" | |
| 6198 | > | |
| 6199 | <con:setti ngs> | |
| 6200 | <con:setti ng | |
| 6201 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 6202 | > | |
| 6203 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 6204 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 6205 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 6206 | </xml-f ragment> | |
| 6207 | </con:sett ing> | |
| 6208 | </con:sett ings> | |
| 6209 | <con:endpo int> | |
| 6210 | http://loc alhost:808 0 | |
| 6211 | </con:endp oint> | |
| 6212 | <con:reque st/> | |
| 6213 | <con:origi nalUri> | |
| 6214 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 6215 | </con:orig inalUri> | |
| 6216 | <con:crede ntials> | |
| 6217 | <con:authT ype> | |
| 6218 | No Authori zation | |
| 6219 | </con:auth Type> | |
| 6220 | </con:cred entials> | |
| 6221 | <con:jmsCo nfig | |
| 6222 | JMSDeliver yMode="PER SISTENT" | |
| 6223 | /> | |
| 6224 | <con:jmsPr opertyConf ig/> | |
| 6225 | <con:param eters> | |
| 6226 | <entry | |
| 6227 | key="patie ntid" | |
| 6228 | value="101 " | |
| 6229 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 6230 | /> | |
| 6231 | </con:para meters> | |
| 6232 | <con:param eterOrder> | |
| 6233 | <con:entry > | |
| 6234 | patientid | |
| 6235 | </con:entr y> | |
| 6236 | </con:para meterOrder > | |
| 6237 | </con:rest Request> | |
| 6238 | </con:conf ig> | |
| 6239 | </con:test Step> | |
| 6240 | <con:testS tep | |
| 6241 | type="groo vy" | |
| 6242 | name="Log Results 10 1" | |
| 6243 | id="413b3a 55-8de9-4f 8d-8069-66 bea9279fcb " | |
| 6244 | > | |
| 6245 | <con:setti ngs/> | |
| 6246 | <con:confi g> | |
| 6247 | <script> | |
| 6248 | import gro ovy.json.J sonSlurper | |
| 6249 | ||
| 6250 | def stepNa me = "Get Session 10 1" | |
| 6251 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 6252 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 6253 | ||
| 6254 | def status = slurper response.s tatus | |
| 6255 | def errorC ode = slur perrespons e.errorCod e | |
| 6256 | def messag e = slurpe rresponse. message | |
| 6257 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 6258 | ||
| 6259 | log.info(" Test Step: "+stepNam e) | |
| 6260 | log.info(" Status: "+ status.toS tring()) | |
| 6261 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 6262 | log.info(" Message: " +message.t oString()) | |
| 6263 | log.info(" Developer Message: " +developer Message.to String()) | |
| 6264 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 6265 | ||
| 6266 | assert sta tus == 400 | |
| 6267 | </script> | |
| 6268 | </con:conf ig> | |
| 6269 | </con:test Step> | |
| 6270 | <con:testS tep | |
| 6271 | type="rest request" | |
| 6272 | name="Get Session 10 2" | |
| 6273 | id="7a426a 06-b1e3-44 c0-8846-1d 7aed053a3d " | |
| 6274 | > | |
| 6275 | <con:setti ngs/> | |
| 6276 | <con:confi g | |
| 6277 | service="R x Refill A PI" | |
| 6278 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 6279 | methodName ="Session" | |
| 6280 | xsi:type=" con:RestRe questStep" | |
| 6281 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 6282 | > | |
| 6283 | <con:restR equest | |
| 6284 | name="Get Session 10 2" | |
| 6285 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 6286 | mediaType= "applicati on/json" | |
| 6287 | postQueryS tring="fal se" | |
| 6288 | > | |
| 6289 | <con:setti ngs> | |
| 6290 | <con:setti ng | |
| 6291 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 6292 | > | |
| 6293 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 6294 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 6295 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 6296 | </xml-f ragment> | |
| 6297 | </con:sett ing> | |
| 6298 | </con:sett ings> | |
| 6299 | <con:endpo int> | |
| 6300 | http://loc alhost:808 0 | |
| 6301 | </con:endp oint> | |
| 6302 | <con:reque st/> | |
| 6303 | <con:origi nalUri> | |
| 6304 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 6305 | </con:orig inalUri> | |
| 6306 | <con:crede ntials> | |
| 6307 | <con:authT ype> | |
| 6308 | No Authori zation | |
| 6309 | </con:auth Type> | |
| 6310 | </con:cred entials> | |
| 6311 | <con:jmsCo nfig | |
| 6312 | JMSDeliver yMode="PER SISTENT" | |
| 6313 | /> | |
| 6314 | <con:jmsPr opertyConf ig/> | |
| 6315 | <con:param eters> | |
| 6316 | <entry | |
| 6317 | key="patie ntid" | |
| 6318 | value="102 " | |
| 6319 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 6320 | /> | |
| 6321 | </con:para meters> | |
| 6322 | <con:param eterOrder> | |
| 6323 | <con:entry > | |
| 6324 | patientid | |
| 6325 | </con:entr y> | |
| 6326 | </con:para meterOrder > | |
| 6327 | </con:rest Request> | |
| 6328 | </con:conf ig> | |
| 6329 | </con:test Step> | |
| 6330 | <con:testS tep | |
| 6331 | type="groo vy" | |
| 6332 | name="Log Results 10 2" | |
| 6333 | id="c977db 8b-6d63-41 d4-9d6e-91 c4290fd55b " | |
| 6334 | > | |
| 6335 | <con:setti ngs/> | |
| 6336 | <con:confi g> | |
| 6337 | <script> | |
| 6338 | import gro ovy.json.J sonSlurper | |
| 6339 | ||
| 6340 | def stepNa me = "Get Session 10 2" | |
| 6341 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 6342 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 6343 | ||
| 6344 | def status = slurper response.s tatus | |
| 6345 | def errorC ode = slur perrespons e.errorCod e | |
| 6346 | def messag e = slurpe rresponse. message | |
| 6347 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 6348 | ||
| 6349 | log.info(" Test Step: "+stepNam e) | |
| 6350 | log.info(" Status: "+ status.toS tring()) | |
| 6351 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 6352 | log.info(" Message: " +message.t oString()) | |
| 6353 | log.info(" Developer Message: " +developer Message.to String()) | |
| 6354 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 6355 | ||
| 6356 | assert sta tus == 400 | |
| 6357 | </script> | |
| 6358 | </con:conf ig> | |
| 6359 | </con:test Step> | |
| 6360 | <con:testS tep | |
| 6361 | type="rest request" | |
| 6362 | name="Get Session 10 3" | |
| 6363 | id="e9bf28 be-b687-46 80-b377-3e f79fffbee8 " | |
| 6364 | > | |
| 6365 | <con:setti ngs/> | |
| 6366 | <con:confi g | |
| 6367 | service="R x Refill A PI" | |
| 6368 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 6369 | methodName ="Session" | |
| 6370 | xsi:type=" con:RestRe questStep" | |
| 6371 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 6372 | > | |
| 6373 | <con:restR equest | |
| 6374 | name="Get Session 10 3" | |
| 6375 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 6376 | mediaType= "applicati on/json" | |
| 6377 | postQueryS tring="fal se" | |
| 6378 | > | |
| 6379 | <con:setti ngs> | |
| 6380 | <con:setti ng | |
| 6381 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 6382 | > | |
| 6383 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 6384 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 6385 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 6386 | </xml-f ragment> | |
| 6387 | </con:sett ing> | |
| 6388 | </con:sett ings> | |
| 6389 | <con:endpo int> | |
| 6390 | http://loc alhost:808 0 | |
| 6391 | </con:endp oint> | |
| 6392 | <con:reque st/> | |
| 6393 | <con:origi nalUri> | |
| 6394 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 6395 | </con:orig inalUri> | |
| 6396 | <con:crede ntials> | |
| 6397 | <con:authT ype> | |
| 6398 | No Authori zation | |
| 6399 | </con:auth Type> | |
| 6400 | </con:cred entials> | |
| 6401 | <con:jmsCo nfig | |
| 6402 | JMSDeliver yMode="PER SISTENT" | |
| 6403 | /> | |
| 6404 | <con:jmsPr opertyConf ig/> | |
| 6405 | <con:param eters> | |
| 6406 | <entry | |
| 6407 | key="patie ntid" | |
| 6408 | value="103 " | |
| 6409 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 6410 | /> | |
| 6411 | </con:para meters> | |
| 6412 | <con:param eterOrder> | |
| 6413 | <con:entry > | |
| 6414 | patientid | |
| 6415 | </con:entr y> | |
| 6416 | </con:para meterOrder > | |
| 6417 | </con:rest Request> | |
| 6418 | </con:conf ig> | |
| 6419 | </con:test Step> | |
| 6420 | <con:testS tep | |
| 6421 | type="groo vy" | |
| 6422 | name="Log Results 10 3" | |
| 6423 | id="7a35aa 19-6ff0-40 09-bf12-0d f1d05db2e6 " | |
| 6424 | > | |
| 6425 | <con:setti ngs/> | |
| 6426 | <con:confi g> | |
| 6427 | <script> | |
| 6428 | import gro ovy.json.J sonSlurper | |
| 6429 | ||
| 6430 | def stepNa me = "Get Session 10 3" | |
| 6431 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 6432 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 6433 | ||
| 6434 | def status = slurper response.s tatus | |
| 6435 | def errorC ode = slur perrespons e.errorCod e | |
| 6436 | def messag e = slurpe rresponse. message | |
| 6437 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 6438 | ||
| 6439 | log.info(" Test Step: "+stepNam e) | |
| 6440 | log.info(" Status: "+ status.toS tring()) | |
| 6441 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 6442 | log.info(" Message: " +message.t oString()) | |
| 6443 | log.info(" Developer Message: " +developer Message.to String()) | |
| 6444 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 6445 | ||
| 6446 | assert sta tus == 400 | |
| 6447 | </script> | |
| 6448 | </con:conf ig> | |
| 6449 | </con:test Step> | |
| 6450 | <con:testS tep | |
| 6451 | type="rest request" | |
| 6452 | name="Get Session 10 4" | |
| 6453 | id="782f37 68-3f76-4d 22-a9a0-ce 534de610a8 " | |
| 6454 | > | |
| 6455 | <con:setti ngs/> | |
| 6456 | <con:confi g | |
| 6457 | service="R x Refill A PI" | |
| 6458 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 6459 | methodName ="Session" | |
| 6460 | xsi:type=" con:RestRe questStep" | |
| 6461 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 6462 | > | |
| 6463 | <con:restR equest | |
| 6464 | name="Get Session 10 4" | |
| 6465 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 6466 | mediaType= "applicati on/json" | |
| 6467 | postQueryS tring="fal se" | |
| 6468 | > | |
| 6469 | <con:setti ngs> | |
| 6470 | <con:setti ng | |
| 6471 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 6472 | > | |
| 6473 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 6474 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 6475 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 6476 | </xml-f ragment> | |
| 6477 | </con:sett ing> | |
| 6478 | </con:sett ings> | |
| 6479 | <con:endpo int> | |
| 6480 | http://loc alhost:808 0 | |
| 6481 | </con:endp oint> | |
| 6482 | <con:reque st/> | |
| 6483 | <con:origi nalUri> | |
| 6484 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 6485 | </con:orig inalUri> | |
| 6486 | <con:crede ntials> | |
| 6487 | <con:authT ype> | |
| 6488 | No Authori zation | |
| 6489 | </con:auth Type> | |
| 6490 | </con:cred entials> | |
| 6491 | <con:jmsCo nfig | |
| 6492 | JMSDeliver yMode="PER SISTENT" | |
| 6493 | /> | |
| 6494 | <con:jmsPr opertyConf ig/> | |
| 6495 | <con:param eters> | |
| 6496 | <entry | |
| 6497 | key="patie ntid" | |
| 6498 | value="104 " | |
| 6499 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 6500 | /> | |
| 6501 | </con:para meters> | |
| 6502 | <con:param eterOrder> | |
| 6503 | <con:entry > | |
| 6504 | patientid | |
| 6505 | </con:entr y> | |
| 6506 | </con:para meterOrder > | |
| 6507 | </con:rest Request> | |
| 6508 | </con:conf ig> | |
| 6509 | </con:test Step> | |
| 6510 | <con:testS tep | |
| 6511 | type="groo vy" | |
| 6512 | name="Log Results 10 4" | |
| 6513 | id="b1aed6 4b-2e5d-41 35-ae28-7c 1fcce45971 " | |
| 6514 | > | |
| 6515 | <con:setti ngs/> | |
| 6516 | <con:confi g> | |
| 6517 | <script> | |
| 6518 | import gro ovy.json.J sonSlurper | |
| 6519 | ||
| 6520 | def stepNa me = "Get Session 10 4" | |
| 6521 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 6522 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 6523 | ||
| 6524 | def status = slurper response.s tatus | |
| 6525 | def errorC ode = slur perrespons e.errorCod e | |
| 6526 | def messag e = slurpe rresponse. message | |
| 6527 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 6528 | ||
| 6529 | log.info(" Test Step: "+stepNam e) | |
| 6530 | log.info(" Status: "+ status.toS tring()) | |
| 6531 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 6532 | log.info(" Message: " +message.t oString()) | |
| 6533 | log.info(" Developer Message: " +developer Message.to String()) | |
| 6534 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 6535 | ||
| 6536 | assert sta tus == 400 | |
| 6537 | </script> | |
| 6538 | </con:conf ig> | |
| 6539 | </con:test Step> | |
| 6540 | <con:testS tep | |
| 6541 | type="rest request" | |
| 6542 | name="Get Session 10 5" | |
| 6543 | id="db093a ce-a956-4e 09-b22b-fd 533f3edf55 " | |
| 6544 | > | |
| 6545 | <con:setti ngs/> | |
| 6546 | <con:confi g | |
| 6547 | service="R x Refill A PI" | |
| 6548 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 6549 | methodName ="Session" | |
| 6550 | xsi:type=" con:RestRe questStep" | |
| 6551 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 6552 | > | |
| 6553 | <con:restR equest | |
| 6554 | name="Get Session 10 5" | |
| 6555 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 6556 | mediaType= "applicati on/json" | |
| 6557 | postQueryS tring="fal se" | |
| 6558 | > | |
| 6559 | <con:setti ngs> | |
| 6560 | <con:setti ng | |
| 6561 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 6562 | > | |
| 6563 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 6564 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 6565 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 6566 | </xml-f ragment> | |
| 6567 | </con:sett ing> | |
| 6568 | </con:sett ings> | |
| 6569 | <con:endpo int> | |
| 6570 | http://loc alhost:808 0 | |
| 6571 | </con:endp oint> | |
| 6572 | <con:reque st/> | |
| 6573 | <con:origi nalUri> | |
| 6574 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 6575 | </con:orig inalUri> | |
| 6576 | <con:crede ntials> | |
| 6577 | <con:authT ype> | |
| 6578 | No Authori zation | |
| 6579 | </con:auth Type> | |
| 6580 | </con:cred entials> | |
| 6581 | <con:jmsCo nfig | |
| 6582 | JMSDeliver yMode="PER SISTENT" | |
| 6583 | /> | |
| 6584 | <con:jmsPr opertyConf ig/> | |
| 6585 | <con:param eters> | |
| 6586 | <entry | |
| 6587 | key="patie ntid" | |
| 6588 | value="105 " | |
| 6589 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 6590 | /> | |
| 6591 | </con:para meters> | |
| 6592 | <con:param eterOrder> | |
| 6593 | <con:entry > | |
| 6594 | patientid | |
| 6595 | </con:entr y> | |
| 6596 | </con:para meterOrder > | |
| 6597 | </con:rest Request> | |
| 6598 | </con:conf ig> | |
| 6599 | </con:test Step> | |
| 6600 | <con:testS tep | |
| 6601 | type="groo vy" | |
| 6602 | name="Log Results 10 5" | |
| 6603 | id="9e0acb 51-7088-4a b4-b8bf-c6 c86d692005 " | |
| 6604 | > | |
| 6605 | <con:setti ngs/> | |
| 6606 | <con:confi g> | |
| 6607 | <script> | |
| 6608 | import gro ovy.json.J sonSlurper | |
| 6609 | ||
| 6610 | def stepNa me = "Get Session 10 5" | |
| 6611 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 6612 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 6613 | ||
| 6614 | def status = slurper response.s tatus | |
| 6615 | def errorC ode = slur perrespons e.errorCod e | |
| 6616 | def messag e = slurpe rresponse. message | |
| 6617 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 6618 | ||
| 6619 | log.info(" Test Step: "+stepNam e) | |
| 6620 | log.info(" Status: "+ status.toS tring()) | |
| 6621 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 6622 | log.info(" Message: " +message.t oString()) | |
| 6623 | log.info(" Developer Message: " +developer Message.to String()) | |
| 6624 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 6625 | ||
| 6626 | assert sta tus == 400 | |
| 6627 | </script> | |
| 6628 | </con:conf ig> | |
| 6629 | </con:test Step> | |
| 6630 | <con:testS tep | |
| 6631 | type="rest request" | |
| 6632 | name="Get Session 10 7" | |
| 6633 | id="d0ef13 11-ec80-49 e5-9d21-01 60edebd52e " | |
| 6634 | > | |
| 6635 | <con:setti ngs/> | |
| 6636 | <con:confi g | |
| 6637 | service="R x Refill A PI" | |
| 6638 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 6639 | methodName ="Session" | |
| 6640 | xsi:type=" con:RestRe questStep" | |
| 6641 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 6642 | > | |
| 6643 | <con:restR equest | |
| 6644 | name="Get Session 10 7" | |
| 6645 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 6646 | mediaType= "applicati on/json" | |
| 6647 | postQueryS tring="fal se" | |
| 6648 | > | |
| 6649 | <con:setti ngs> | |
| 6650 | <con:setti ng | |
| 6651 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 6652 | > | |
| 6653 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 6654 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 6655 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 6656 | </xml-f ragment> | |
| 6657 | </con:sett ing> | |
| 6658 | </con:sett ings> | |
| 6659 | <con:endpo int> | |
| 6660 | http://loc alhost:808 0 | |
| 6661 | </con:endp oint> | |
| 6662 | <con:reque st/> | |
| 6663 | <con:origi nalUri> | |
| 6664 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 6665 | </con:orig inalUri> | |
| 6666 | <con:crede ntials> | |
| 6667 | <con:authT ype> | |
| 6668 | No Authori zation | |
| 6669 | </con:auth Type> | |
| 6670 | </con:cred entials> | |
| 6671 | <con:jmsCo nfig | |
| 6672 | JMSDeliver yMode="PER SISTENT" | |
| 6673 | /> | |
| 6674 | <con:jmsPr opertyConf ig/> | |
| 6675 | <con:param eters> | |
| 6676 | <entry | |
| 6677 | key="patie ntid" | |
| 6678 | value="107 " | |
| 6679 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 6680 | /> | |
| 6681 | </con:para meters> | |
| 6682 | <con:param eterOrder> | |
| 6683 | <con:entry > | |
| 6684 | patientid | |
| 6685 | </con:entr y> | |
| 6686 | </con:para meterOrder > | |
| 6687 | </con:rest Request> | |
| 6688 | </con:conf ig> | |
| 6689 | </con:test Step> | |
| 6690 | <con:testS tep | |
| 6691 | type="groo vy" | |
| 6692 | name="Log Results 10 7" | |
| 6693 | id="2d400f c4-0041-4c 9f-8291-8a d9ab95dc07 " | |
| 6694 | > | |
| 6695 | <con:setti ngs/> | |
| 6696 | <con:confi g> | |
| 6697 | <script> | |
| 6698 | import gro ovy.json.J sonSlurper | |
| 6699 | ||
| 6700 | def stepNa me = "Get Session 10 7" | |
| 6701 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 6702 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 6703 | ||
| 6704 | def status = slurper response.s tatus | |
| 6705 | def errorC ode = slur perrespons e.errorCod e | |
| 6706 | def messag e = slurpe rresponse. message | |
| 6707 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 6708 | ||
| 6709 | log.info(" Test Step: "+stepNam e) | |
| 6710 | log.info(" Status: "+ status.toS tring()) | |
| 6711 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 6712 | log.info(" Message: " +message.t oString()) | |
| 6713 | log.info(" Developer Message: " +developer Message.to String()) | |
| 6714 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 6715 | ||
| 6716 | assert sta tus == 400 | |
| 6717 | </script> | |
| 6718 | </con:conf ig> | |
| 6719 | </con:test Step> | |
| 6720 | <con:testS tep | |
| 6721 | type="rest request" | |
| 6722 | name="Get Session 10 8" | |
| 6723 | id="43457d 3e-1dad-47 4e-8ab8-a2 c06345eedf " | |
| 6724 | > | |
| 6725 | <con:setti ngs/> | |
| 6726 | <con:confi g | |
| 6727 | service="R x Refill A PI" | |
| 6728 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 6729 | methodName ="Session" | |
| 6730 | xsi:type=" con:RestRe questStep" | |
| 6731 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 6732 | > | |
| 6733 | <con:restR equest | |
| 6734 | name="Get Session 10 8" | |
| 6735 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 6736 | mediaType= "applicati on/json" | |
| 6737 | postQueryS tring="fal se" | |
| 6738 | > | |
| 6739 | <con:setti ngs> | |
| 6740 | <con:setti ng | |
| 6741 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 6742 | > | |
| 6743 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 6744 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 6745 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 6746 | </xml-f ragment> | |
| 6747 | </con:sett ing> | |
| 6748 | </con:sett ings> | |
| 6749 | <con:endpo int> | |
| 6750 | http://loc alhost:808 0 | |
| 6751 | </con:endp oint> | |
| 6752 | <con:reque st/> | |
| 6753 | <con:origi nalUri> | |
| 6754 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 6755 | </con:orig inalUri> | |
| 6756 | <con:crede ntials> | |
| 6757 | <con:authT ype> | |
| 6758 | No Authori zation | |
| 6759 | </con:auth Type> | |
| 6760 | </con:cred entials> | |
| 6761 | <con:jmsCo nfig | |
| 6762 | JMSDeliver yMode="PER SISTENT" | |
| 6763 | /> | |
| 6764 | <con:jmsPr opertyConf ig/> | |
| 6765 | <con:param eters> | |
| 6766 | <entry | |
| 6767 | key="patie ntid" | |
| 6768 | value="108 " | |
| 6769 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 6770 | /> | |
| 6771 | </con:para meters> | |
| 6772 | <con:param eterOrder> | |
| 6773 | <con:entry > | |
| 6774 | patientid | |
| 6775 | </con:entr y> | |
| 6776 | </con:para meterOrder > | |
| 6777 | </con:rest Request> | |
| 6778 | </con:conf ig> | |
| 6779 | </con:test Step> | |
| 6780 | <con:testS tep | |
| 6781 | type="groo vy" | |
| 6782 | name="Log Results 10 8" | |
| 6783 | id="553c06 71-140c-45 19-8ae8-a2 2d7aa1717d " | |
| 6784 | > | |
| 6785 | <con:setti ngs/> | |
| 6786 | <con:confi g> | |
| 6787 | <script> | |
| 6788 | import gro ovy.json.J sonSlurper | |
| 6789 | ||
| 6790 | def stepNa me = "Get Session 10 8" | |
| 6791 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 6792 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 6793 | ||
| 6794 | def status = slurper response.s tatus | |
| 6795 | def errorC ode = slur perrespons e.errorCod e | |
| 6796 | def messag e = slurpe rresponse. message | |
| 6797 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 6798 | ||
| 6799 | log.info(" Test Step: "+stepNam e) | |
| 6800 | log.info(" Status: "+ status.toS tring()) | |
| 6801 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 6802 | log.info(" Message: " +message.t oString()) | |
| 6803 | log.info(" Developer Message: " +developer Message.to String()) | |
| 6804 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 6805 | ||
| 6806 | assert sta tus == 400 | |
| 6807 | </script> | |
| 6808 | </con:conf ig> | |
| 6809 | </con:test Step> | |
| 6810 | <con:testS tep | |
| 6811 | type="rest request" | |
| 6812 | name="Get Session 10 9" | |
| 6813 | id="ae2051 21-a438-42 ba-b422-ea 69406dce8e " | |
| 6814 | > | |
| 6815 | <con:setti ngs/> | |
| 6816 | <con:confi g | |
| 6817 | service="R x Refill A PI" | |
| 6818 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 6819 | methodName ="Session" | |
| 6820 | xsi:type=" con:RestRe questStep" | |
| 6821 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 6822 | > | |
| 6823 | <con:restR equest | |
| 6824 | name="Get Session 10 9" | |
| 6825 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 6826 | mediaType= "applicati on/json" | |
| 6827 | postQueryS tring="fal se" | |
| 6828 | > | |
| 6829 | <con:setti ngs> | |
| 6830 | <con:setti ng | |
| 6831 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 6832 | > | |
| 6833 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 6834 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 6835 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 6836 | </xml-f ragment> | |
| 6837 | </con:sett ing> | |
| 6838 | </con:sett ings> | |
| 6839 | <con:endpo int> | |
| 6840 | http://loc alhost:808 0 | |
| 6841 | </con:endp oint> | |
| 6842 | <con:reque st/> | |
| 6843 | <con:origi nalUri> | |
| 6844 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 6845 | </con:orig inalUri> | |
| 6846 | <con:crede ntials> | |
| 6847 | <con:authT ype> | |
| 6848 | No Authori zation | |
| 6849 | </con:auth Type> | |
| 6850 | </con:cred entials> | |
| 6851 | <con:jmsCo nfig | |
| 6852 | JMSDeliver yMode="PER SISTENT" | |
| 6853 | /> | |
| 6854 | <con:jmsPr opertyConf ig/> | |
| 6855 | <con:param eters> | |
| 6856 | <entry | |
| 6857 | key="patie ntid" | |
| 6858 | value="109 " | |
| 6859 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 6860 | /> | |
| 6861 | </con:para meters> | |
| 6862 | <con:param eterOrder> | |
| 6863 | <con:entry > | |
| 6864 | patientid | |
| 6865 | </con:entr y> | |
| 6866 | </con:para meterOrder > | |
| 6867 | </con:rest Request> | |
| 6868 | </con:conf ig> | |
| 6869 | </con:test Step> | |
| 6870 | <con:testS tep | |
| 6871 | type="groo vy" | |
| 6872 | name="Log Results 10 9" | |
| 6873 | id="ac0886 cb-b108-4b db-9b6c-32 e6ddbc8d5e " | |
| 6874 | > | |
| 6875 | <con:setti ngs/> | |
| 6876 | <con:confi g> | |
| 6877 | <script> | |
| 6878 | import gro ovy.json.J sonSlurper | |
| 6879 | ||
| 6880 | def stepNa me = "Get Session 10 9" | |
| 6881 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 6882 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 6883 | ||
| 6884 | def status = slurper response.s tatus | |
| 6885 | def errorC ode = slur perrespons e.errorCod e | |
| 6886 | def messag e = slurpe rresponse. message | |
| 6887 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 6888 | ||
| 6889 | log.info(" Test Step: "+stepNam e) | |
| 6890 | log.info(" Status: "+ status.toS tring()) | |
| 6891 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 6892 | log.info(" Message: " +message.t oString()) | |
| 6893 | log.info(" Developer Message: " +developer Message.to String()) | |
| 6894 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 6895 | ||
| 6896 | assert sta tus == 400 | |
| 6897 | </script> | |
| 6898 | </con:conf ig> | |
| 6899 | </con:test Step> | |
| 6900 | <con:testS tep | |
| 6901 | type="rest request" | |
| 6902 | name="Get Session 11 0" | |
| 6903 | id="fad5f8 43-288f-44 2a-9149-cd e587e46426 " | |
| 6904 | > | |
| 6905 | <con:setti ngs/> | |
| 6906 | <con:confi g | |
| 6907 | service="R x Refill A PI" | |
| 6908 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 6909 | methodName ="Session" | |
| 6910 | xsi:type=" con:RestRe questStep" | |
| 6911 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 6912 | > | |
| 6913 | <con:restR equest | |
| 6914 | name="Get Session 11 0" | |
| 6915 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 6916 | mediaType= "applicati on/json" | |
| 6917 | postQueryS tring="fal se" | |
| 6918 | > | |
| 6919 | <con:setti ngs> | |
| 6920 | <con:setti ng | |
| 6921 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 6922 | > | |
| 6923 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 6924 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 6925 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 6926 | </xml-f ragment> | |
| 6927 | </con:sett ing> | |
| 6928 | </con:sett ings> | |
| 6929 | <con:endpo int> | |
| 6930 | http://loc alhost:808 0 | |
| 6931 | </con:endp oint> | |
| 6932 | <con:reque st/> | |
| 6933 | <con:origi nalUri> | |
| 6934 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 6935 | </con:orig inalUri> | |
| 6936 | <con:crede ntials> | |
| 6937 | <con:authT ype> | |
| 6938 | No Authori zation | |
| 6939 | </con:auth Type> | |
| 6940 | </con:cred entials> | |
| 6941 | <con:jmsCo nfig | |
| 6942 | JMSDeliver yMode="PER SISTENT" | |
| 6943 | /> | |
| 6944 | <con:jmsPr opertyConf ig/> | |
| 6945 | <con:param eters> | |
| 6946 | <entry | |
| 6947 | key="patie ntid" | |
| 6948 | value="110 " | |
| 6949 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 6950 | /> | |
| 6951 | </con:para meters> | |
| 6952 | <con:param eterOrder> | |
| 6953 | <con:entry > | |
| 6954 | patientid | |
| 6955 | </con:entr y> | |
| 6956 | </con:para meterOrder > | |
| 6957 | </con:rest Request> | |
| 6958 | </con:conf ig> | |
| 6959 | </con:test Step> | |
| 6960 | <con:testS tep | |
| 6961 | type="groo vy" | |
| 6962 | name="Log Results 11 0" | |
| 6963 | id="6bd55b cd-2949-48 dc-9aa7-92 eed8b589c1 " | |
| 6964 | > | |
| 6965 | <con:setti ngs/> | |
| 6966 | <con:confi g> | |
| 6967 | <script> | |
| 6968 | import gro ovy.json.J sonSlurper | |
| 6969 | ||
| 6970 | def stepNa me = "Get Session 11 0" | |
| 6971 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 6972 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 6973 | ||
| 6974 | def status = slurper response.s tatus | |
| 6975 | def errorC ode = slur perrespons e.errorCod e | |
| 6976 | def messag e = slurpe rresponse. message | |
| 6977 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 6978 | ||
| 6979 | log.info(" Test Step: "+stepNam e) | |
| 6980 | log.info(" Status: "+ status.toS tring()) | |
| 6981 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 6982 | log.info(" Message: " +message.t oString()) | |
| 6983 | log.info(" Developer Message: " +developer Message.to String()) | |
| 6984 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 6985 | ||
| 6986 | assert sta tus == 400 | |
| 6987 | </script> | |
| 6988 | </con:conf ig> | |
| 6989 | </con:test Step> | |
| 6990 | <con:testS tep | |
| 6991 | type="rest request" | |
| 6992 | name="Get Session 11 1" | |
| 6993 | id="3b2ff7 f2-cb99-4c 9d-b224-9b 59184bd1ce " | |
| 6994 | > | |
| 6995 | <con:setti ngs/> | |
| 6996 | <con:confi g | |
| 6997 | service="R x Refill A PI" | |
| 6998 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 6999 | methodName ="Session" | |
| 7000 | xsi:type=" con:RestRe questStep" | |
| 7001 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 7002 | > | |
| 7003 | <con:restR equest | |
| 7004 | name="Get Session 11 1" | |
| 7005 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 7006 | mediaType= "applicati on/json" | |
| 7007 | postQueryS tring="fal se" | |
| 7008 | > | |
| 7009 | <con:setti ngs> | |
| 7010 | <con:setti ng | |
| 7011 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 7012 | > | |
| 7013 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 7014 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 7015 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 7016 | </xml-f ragment> | |
| 7017 | </con:sett ing> | |
| 7018 | </con:sett ings> | |
| 7019 | <con:endpo int> | |
| 7020 | http://loc alhost:808 0 | |
| 7021 | </con:endp oint> | |
| 7022 | <con:reque st/> | |
| 7023 | <con:origi nalUri> | |
| 7024 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 7025 | </con:orig inalUri> | |
| 7026 | <con:crede ntials> | |
| 7027 | <con:authT ype> | |
| 7028 | No Authori zation | |
| 7029 | </con:auth Type> | |
| 7030 | </con:cred entials> | |
| 7031 | <con:jmsCo nfig | |
| 7032 | JMSDeliver yMode="PER SISTENT" | |
| 7033 | /> | |
| 7034 | <con:jmsPr opertyConf ig/> | |
| 7035 | <con:param eters> | |
| 7036 | <entry | |
| 7037 | key="patie ntid" | |
| 7038 | value="111 " | |
| 7039 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 7040 | /> | |
| 7041 | </con:para meters> | |
| 7042 | <con:param eterOrder> | |
| 7043 | <con:entry > | |
| 7044 | patientid | |
| 7045 | </con:entr y> | |
| 7046 | </con:para meterOrder > | |
| 7047 | </con:rest Request> | |
| 7048 | </con:conf ig> | |
| 7049 | </con:test Step> | |
| 7050 | <con:testS tep | |
| 7051 | type="groo vy" | |
| 7052 | name="Log Results 11 1" | |
| 7053 | id="ff1c20 89-a362-4d ed-a12e-ba a22ad7b93b " | |
| 7054 | > | |
| 7055 | <con:setti ngs/> | |
| 7056 | <con:confi g> | |
| 7057 | <script> | |
| 7058 | import gro ovy.json.J sonSlurper | |
| 7059 | ||
| 7060 | def stepNa me = "Get Session 11 1" | |
| 7061 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 7062 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 7063 | ||
| 7064 | def status = slurper response.s tatus | |
| 7065 | def errorC ode = slur perrespons e.errorCod e | |
| 7066 | def messag e = slurpe rresponse. message | |
| 7067 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 7068 | ||
| 7069 | log.info(" Test Step: "+stepNam e) | |
| 7070 | log.info(" Status: "+ status.toS tring()) | |
| 7071 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 7072 | log.info(" Message: " +message.t oString()) | |
| 7073 | log.info(" Developer Message: " +developer Message.to String()) | |
| 7074 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 7075 | ||
| 7076 | assert sta tus == 400 | |
| 7077 | </script> | |
| 7078 | </con:conf ig> | |
| 7079 | </con:test Step> | |
| 7080 | <con:testS tep | |
| 7081 | type="rest request" | |
| 7082 | name="Get Session 11 7" | |
| 7083 | id="f23145 b6-e3c6-47 06-b8a5-8b 5e25b5c45d " | |
| 7084 | > | |
| 7085 | <con:setti ngs/> | |
| 7086 | <con:confi g | |
| 7087 | service="R x Refill A PI" | |
| 7088 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 7089 | methodName ="Session" | |
| 7090 | xsi:type=" con:RestRe questStep" | |
| 7091 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 7092 | > | |
| 7093 | <con:restR equest | |
| 7094 | name="Get Session 11 7" | |
| 7095 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 7096 | mediaType= "applicati on/json" | |
| 7097 | postQueryS tring="fal se" | |
| 7098 | > | |
| 7099 | <con:setti ngs> | |
| 7100 | <con:setti ng | |
| 7101 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 7102 | > | |
| 7103 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 7104 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 7105 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 7106 | </xml-f ragment> | |
| 7107 | </con:sett ing> | |
| 7108 | </con:sett ings> | |
| 7109 | <con:endpo int> | |
| 7110 | http://loc alhost:808 0 | |
| 7111 | </con:endp oint> | |
| 7112 | <con:reque st/> | |
| 7113 | <con:origi nalUri> | |
| 7114 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 7115 | </con:orig inalUri> | |
| 7116 | <con:crede ntials> | |
| 7117 | <con:authT ype> | |
| 7118 | No Authori zation | |
| 7119 | </con:auth Type> | |
| 7120 | </con:cred entials> | |
| 7121 | <con:jmsCo nfig | |
| 7122 | JMSDeliver yMode="PER SISTENT" | |
| 7123 | /> | |
| 7124 | <con:jmsPr opertyConf ig/> | |
| 7125 | <con:param eters> | |
| 7126 | <entry | |
| 7127 | key="patie ntid" | |
| 7128 | value="117 " | |
| 7129 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 7130 | /> | |
| 7131 | </con:para meters> | |
| 7132 | <con:param eterOrder> | |
| 7133 | <con:entry > | |
| 7134 | patientid | |
| 7135 | </con:entr y> | |
| 7136 | </con:para meterOrder > | |
| 7137 | </con:rest Request> | |
| 7138 | </con:conf ig> | |
| 7139 | </con:test Step> | |
| 7140 | <con:testS tep | |
| 7141 | type="groo vy" | |
| 7142 | name="Log Results 11 7" | |
| 7143 | id="9fea32 a1-5790-40 69-889f-a0 2408e43f71 " | |
| 7144 | > | |
| 7145 | <con:setti ngs/> | |
| 7146 | <con:confi g> | |
| 7147 | <script> | |
| 7148 | import gro ovy.json.J sonSlurper | |
| 7149 | ||
| 7150 | def stepNa me = "Get Session 11 7" | |
| 7151 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 7152 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 7153 | ||
| 7154 | def status = slurper response.s tatus | |
| 7155 | def errorC ode = slur perrespons e.errorCod e | |
| 7156 | def messag e = slurpe rresponse. message | |
| 7157 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 7158 | ||
| 7159 | log.info(" Test Step: "+stepNam e) | |
| 7160 | log.info(" Status: "+ status.toS tring()) | |
| 7161 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 7162 | log.info(" Message: " +message.t oString()) | |
| 7163 | log.info(" Developer Message: " +developer Message.to String()) | |
| 7164 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 7165 | ||
| 7166 | assert sta tus == 400 | |
| 7167 | </script> | |
| 7168 | </con:conf ig> | |
| 7169 | </con:test Step> | |
| 7170 | <con:testS tep | |
| 7171 | type="rest request" | |
| 7172 | name="Get Session 13 2" | |
| 7173 | id="b91c92 5b-3d4d-45 f9-835a-e1 d17d97f3e1 " | |
| 7174 | > | |
| 7175 | <con:setti ngs/> | |
| 7176 | <con:confi g | |
| 7177 | service="R x Refill A PI" | |
| 7178 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 7179 | methodName ="Session" | |
| 7180 | xsi:type=" con:RestRe questStep" | |
| 7181 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 7182 | > | |
| 7183 | <con:restR equest | |
| 7184 | name="Get Session 13 2" | |
| 7185 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 7186 | mediaType= "applicati on/json" | |
| 7187 | postQueryS tring="fal se" | |
| 7188 | > | |
| 7189 | <con:setti ngs> | |
| 7190 | <con:setti ng | |
| 7191 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 7192 | > | |
| 7193 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 7194 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 7195 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 7196 | </xml-f ragment> | |
| 7197 | </con:sett ing> | |
| 7198 | </con:sett ings> | |
| 7199 | <con:endpo int> | |
| 7200 | http://loc alhost:808 0 | |
| 7201 | </con:endp oint> | |
| 7202 | <con:reque st/> | |
| 7203 | <con:origi nalUri> | |
| 7204 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 7205 | </con:orig inalUri> | |
| 7206 | <con:crede ntials> | |
| 7207 | <con:authT ype> | |
| 7208 | No Authori zation | |
| 7209 | </con:auth Type> | |
| 7210 | </con:cred entials> | |
| 7211 | <con:jmsCo nfig | |
| 7212 | JMSDeliver yMode="PER SISTENT" | |
| 7213 | /> | |
| 7214 | <con:jmsPr opertyConf ig/> | |
| 7215 | <con:param eters> | |
| 7216 | <entry | |
| 7217 | key="patie ntid" | |
| 7218 | value="132 " | |
| 7219 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 7220 | /> | |
| 7221 | </con:para meters> | |
| 7222 | <con:param eterOrder> | |
| 7223 | <con:entry > | |
| 7224 | patientid | |
| 7225 | </con:entr y> | |
| 7226 | </con:para meterOrder > | |
| 7227 | </con:rest Request> | |
| 7228 | </con:conf ig> | |
| 7229 | </con:test Step> | |
| 7230 | <con:testS tep | |
| 7231 | type="groo vy" | |
| 7232 | name="Log Results 13 2" | |
| 7233 | id="73c0fd c8-58df-44 b2-b30d-3b 33a370b752 " | |
| 7234 | > | |
| 7235 | <con:setti ngs/> | |
| 7236 | <con:confi g> | |
| 7237 | <script> | |
| 7238 | import gro ovy.json.J sonSlurper | |
| 7239 | ||
| 7240 | def stepNa me = "Get Session 13 2" | |
| 7241 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 7242 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 7243 | ||
| 7244 | def status = slurper response.s tatus | |
| 7245 | def errorC ode = slur perrespons e.errorCod e | |
| 7246 | def messag e = slurpe rresponse. message | |
| 7247 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 7248 | ||
| 7249 | log.info(" Test Step: "+stepNam e) | |
| 7250 | log.info(" Status: "+ status.toS tring()) | |
| 7251 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 7252 | log.info(" Message: " +message.t oString()) | |
| 7253 | log.info(" Developer Message: " +developer Message.to String()) | |
| 7254 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 7255 | ||
| 7256 | assert sta tus == 400 | |
| 7257 | </script> | |
| 7258 | </con:conf ig> | |
| 7259 | </con:test Step> | |
| 7260 | <con:testS tep | |
| 7261 | type="rest request" | |
| 7262 | name="Get Session 10 6" | |
| 7263 | id="028653 02-24fa-45 44-ba2d-97 22db0d2e02 " | |
| 7264 | > | |
| 7265 | <con:setti ngs/> | |
| 7266 | <con:confi g | |
| 7267 | service="R x Refill A PI" | |
| 7268 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 7269 | methodName ="Session" | |
| 7270 | xsi:type=" con:RestRe questStep" | |
| 7271 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 7272 | > | |
| 7273 | <con:restR equest | |
| 7274 | name="Get Session 10 6" | |
| 7275 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 7276 | mediaType= "applicati on/json" | |
| 7277 | postQueryS tring="fal se" | |
| 7278 | > | |
| 7279 | <con:setti ngs> | |
| 7280 | <con:setti ng | |
| 7281 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 7282 | > | |
| 7283 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 7284 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 7285 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 7286 | </xml-f ragment> | |
| 7287 | </con:sett ing> | |
| 7288 | </con:sett ings> | |
| 7289 | <con:endpo int> | |
| 7290 | http://loc alhost:808 0 | |
| 7291 | </con:endp oint> | |
| 7292 | <con:reque st/> | |
| 7293 | <con:origi nalUri> | |
| 7294 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 7295 | </con:orig inalUri> | |
| 7296 | <con:crede ntials> | |
| 7297 | <con:authT ype> | |
| 7298 | No Authori zation | |
| 7299 | </con:auth Type> | |
| 7300 | </con:cred entials> | |
| 7301 | <con:jmsCo nfig | |
| 7302 | JMSDeliver yMode="PER SISTENT" | |
| 7303 | /> | |
| 7304 | <con:jmsPr opertyConf ig/> | |
| 7305 | <con:param eters> | |
| 7306 | <entry | |
| 7307 | key="patie ntid" | |
| 7308 | value="106 " | |
| 7309 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 7310 | /> | |
| 7311 | </con:para meters> | |
| 7312 | <con:param eterOrder> | |
| 7313 | <con:entry > | |
| 7314 | patientid | |
| 7315 | </con:entr y> | |
| 7316 | </con:para meterOrder > | |
| 7317 | </con:rest Request> | |
| 7318 | </con:conf ig> | |
| 7319 | </con:test Step> | |
| 7320 | <con:testS tep | |
| 7321 | type="groo vy" | |
| 7322 | name="Log Results 10 6" | |
| 7323 | id="3f9bc9 11-37a1-4d 67-b388-ed 4e4bb82680 " | |
| 7324 | > | |
| 7325 | <con:setti ngs/> | |
| 7326 | <con:confi g> | |
| 7327 | <script> | |
| 7328 | import gro ovy.json.J sonSlurper | |
| 7329 | ||
| 7330 | def stepNa me = "Get Session 10 6" | |
| 7331 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 7332 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 7333 | ||
| 7334 | def status = slurper response.s tatus | |
| 7335 | def errorC ode = slur perrespons e.errorCod e | |
| 7336 | def messag e = slurpe rresponse. message | |
| 7337 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 7338 | ||
| 7339 | log.info(" Test Step: "+stepNam e) | |
| 7340 | log.info(" Status: "+ status.toS tring()) | |
| 7341 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 7342 | log.info(" Message: " +message.t oString()) | |
| 7343 | log.info(" Developer Message: " +developer Message.to String()) | |
| 7344 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 7345 | ||
| 7346 | assert sta tus == 400 | |
| 7347 | </script> | |
| 7348 | </con:conf ig> | |
| 7349 | </con:test Step> | |
| 7350 | <con:testS tep | |
| 7351 | type="rest request" | |
| 7352 | name="Get Session 13 5" | |
| 7353 | id="a1ebb6 86-712e-45 a2-ac33-aa 5942d19dc2 " | |
| 7354 | > | |
| 7355 | <con:setti ngs/> | |
| 7356 | <con:confi g | |
| 7357 | service="R x Refill A PI" | |
| 7358 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 7359 | methodName ="Session" | |
| 7360 | xsi:type=" con:RestRe questStep" | |
| 7361 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 7362 | > | |
| 7363 | <con:restR equest | |
| 7364 | name="Get Session 13 5" | |
| 7365 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 7366 | mediaType= "applicati on/json" | |
| 7367 | postQueryS tring="fal se" | |
| 7368 | > | |
| 7369 | <con:setti ngs> | |
| 7370 | <con:setti ng | |
| 7371 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 7372 | > | |
| 7373 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 7374 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 7375 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 7376 | </xml-f ragment> | |
| 7377 | </con:sett ing> | |
| 7378 | </con:sett ings> | |
| 7379 | <con:endpo int> | |
| 7380 | http://loc alhost:808 0 | |
| 7381 | </con:endp oint> | |
| 7382 | <con:reque st/> | |
| 7383 | <con:origi nalUri> | |
| 7384 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 7385 | </con:orig inalUri> | |
| 7386 | <con:crede ntials> | |
| 7387 | <con:authT ype> | |
| 7388 | No Authori zation | |
| 7389 | </con:auth Type> | |
| 7390 | </con:cred entials> | |
| 7391 | <con:jmsCo nfig | |
| 7392 | JMSDeliver yMode="PER SISTENT" | |
| 7393 | /> | |
| 7394 | <con:jmsPr opertyConf ig/> | |
| 7395 | <con:param eters> | |
| 7396 | <entry | |
| 7397 | key="patie ntid" | |
| 7398 | value="135 " | |
| 7399 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 7400 | /> | |
| 7401 | </con:para meters> | |
| 7402 | <con:param eterOrder> | |
| 7403 | <con:entry > | |
| 7404 | patientid | |
| 7405 | </con:entr y> | |
| 7406 | </con:para meterOrder > | |
| 7407 | </con:rest Request> | |
| 7408 | </con:conf ig> | |
| 7409 | </con:test Step> | |
| 7410 | <con:testS tep | |
| 7411 | type="groo vy" | |
| 7412 | name="Log Results 13 5" | |
| 7413 | id="f55433 5b-9404-4f c6-9d2f-ee 4b2c863587 " | |
| 7414 | > | |
| 7415 | <con:setti ngs/> | |
| 7416 | <con:confi g> | |
| 7417 | <script> | |
| 7418 | import gro ovy.json.J sonSlurper | |
| 7419 | ||
| 7420 | def stepNa me = "Get Session 13 5" | |
| 7421 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 7422 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 7423 | ||
| 7424 | def status = slurper response.s tatus | |
| 7425 | def errorC ode = slur perrespons e.errorCod e | |
| 7426 | def messag e = slurpe rresponse. message | |
| 7427 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 7428 | ||
| 7429 | log.info(" Test Step: "+stepNam e) | |
| 7430 | log.info(" Status: "+ status.toS tring()) | |
| 7431 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 7432 | log.info(" Message: " +message.t oString()) | |
| 7433 | log.info(" Developer Message: " +developer Message.to String()) | |
| 7434 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 7435 | ||
| 7436 | assert sta tus == 400 | |
| 7437 | </script> | |
| 7438 | </con:conf ig> | |
| 7439 | </con:test Step> | |
| 7440 | <con:testS tep | |
| 7441 | type="rest request" | |
| 7442 | name="Get Session 13 6" | |
| 7443 | id="f650e6 a4-fccd-48 2b-bbb0-20 6c97d2b7b6 " | |
| 7444 | > | |
| 7445 | <con:setti ngs/> | |
| 7446 | <con:confi g | |
| 7447 | service="R x Refill A PI" | |
| 7448 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 7449 | methodName ="Session" | |
| 7450 | xsi:type=" con:RestRe questStep" | |
| 7451 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 7452 | > | |
| 7453 | <con:restR equest | |
| 7454 | name="Get Session 13 6" | |
| 7455 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 7456 | mediaType= "applicati on/json" | |
| 7457 | postQueryS tring="fal se" | |
| 7458 | > | |
| 7459 | <con:setti ngs> | |
| 7460 | <con:setti ng | |
| 7461 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 7462 | > | |
| 7463 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 7464 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 7465 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 7466 | </xml-f ragment> | |
| 7467 | </con:sett ing> | |
| 7468 | </con:sett ings> | |
| 7469 | <con:endpo int> | |
| 7470 | http://loc alhost:808 0 | |
| 7471 | </con:endp oint> | |
| 7472 | <con:reque st/> | |
| 7473 | <con:origi nalUri> | |
| 7474 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 7475 | </con:orig inalUri> | |
| 7476 | <con:crede ntials> | |
| 7477 | <con:authT ype> | |
| 7478 | No Authori zation | |
| 7479 | </con:auth Type> | |
| 7480 | </con:cred entials> | |
| 7481 | <con:jmsCo nfig | |
| 7482 | JMSDeliver yMode="PER SISTENT" | |
| 7483 | /> | |
| 7484 | <con:jmsPr opertyConf ig/> | |
| 7485 | <con:param eters> | |
| 7486 | <entry | |
| 7487 | key="patie ntid" | |
| 7488 | value="136 " | |
| 7489 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 7490 | /> | |
| 7491 | </con:para meters> | |
| 7492 | <con:param eterOrder> | |
| 7493 | <con:entry > | |
| 7494 | patientid | |
| 7495 | </con:entr y> | |
| 7496 | </con:para meterOrder > | |
| 7497 | </con:rest Request> | |
| 7498 | </con:conf ig> | |
| 7499 | </con:test Step> | |
| 7500 | <con:testS tep | |
| 7501 | type="groo vy" | |
| 7502 | name="Log Results 13 6" | |
| 7503 | id="0c5b37 8a-3eb0-46 6a-9303-eb 7e14e4289c " | |
| 7504 | > | |
| 7505 | <con:setti ngs/> | |
| 7506 | <con:confi g> | |
| 7507 | <script> | |
| 7508 | import gro ovy.json.J sonSlurper | |
| 7509 | ||
| 7510 | def stepNa me = "Get Session 13 6" | |
| 7511 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 7512 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 7513 | ||
| 7514 | def status = slurper response.s tatus | |
| 7515 | def errorC ode = slur perrespons e.errorCod e | |
| 7516 | def messag e = slurpe rresponse. message | |
| 7517 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 7518 | ||
| 7519 | log.info(" Test Step: "+stepNam e) | |
| 7520 | log.info(" Status: "+ status.toS tring()) | |
| 7521 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 7522 | log.info(" Message: " +message.t oString()) | |
| 7523 | log.info(" Developer Message: " +developer Message.to String()) | |
| 7524 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 7525 | ||
| 7526 | assert sta tus == 400 | |
| 7527 | </script> | |
| 7528 | </con:conf ig> | |
| 7529 | </con:test Step> | |
| 7530 | <con:testS tep | |
| 7531 | type="rest request" | |
| 7532 | name="Get Session 13 7" | |
| 7533 | id="7b9643 fc-7185-49 cb-96f6-a6 f9efaa890b " | |
| 7534 | > | |
| 7535 | <con:setti ngs/> | |
| 7536 | <con:confi g | |
| 7537 | service="R x Refill A PI" | |
| 7538 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 7539 | methodName ="Session" | |
| 7540 | xsi:type=" con:RestRe questStep" | |
| 7541 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 7542 | > | |
| 7543 | <con:restR equest | |
| 7544 | name="Get Session 13 7" | |
| 7545 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 7546 | mediaType= "applicati on/json" | |
| 7547 | postQueryS tring="fal se" | |
| 7548 | > | |
| 7549 | <con:setti ngs> | |
| 7550 | <con:setti ng | |
| 7551 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 7552 | > | |
| 7553 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 7554 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 7555 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 7556 | </xml-f ragment> | |
| 7557 | </con:sett ing> | |
| 7558 | </con:sett ings> | |
| 7559 | <con:endpo int> | |
| 7560 | http://loc alhost:808 0 | |
| 7561 | </con:endp oint> | |
| 7562 | <con:reque st/> | |
| 7563 | <con:origi nalUri> | |
| 7564 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 7565 | </con:orig inalUri> | |
| 7566 | <con:crede ntials> | |
| 7567 | <con:authT ype> | |
| 7568 | No Authori zation | |
| 7569 | </con:auth Type> | |
| 7570 | </con:cred entials> | |
| 7571 | <con:jmsCo nfig | |
| 7572 | JMSDeliver yMode="PER SISTENT" | |
| 7573 | /> | |
| 7574 | <con:jmsPr opertyConf ig/> | |
| 7575 | <con:param eters> | |
| 7576 | <entry | |
| 7577 | key="patie ntid" | |
| 7578 | value="137 " | |
| 7579 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 7580 | /> | |
| 7581 | </con:para meters> | |
| 7582 | <con:param eterOrder> | |
| 7583 | <con:entry > | |
| 7584 | patientid | |
| 7585 | </con:entr y> | |
| 7586 | </con:para meterOrder > | |
| 7587 | </con:rest Request> | |
| 7588 | </con:conf ig> | |
| 7589 | </con:test Step> | |
| 7590 | <con:testS tep | |
| 7591 | type="groo vy" | |
| 7592 | name="Log Results 13 7" | |
| 7593 | id="620784 bb-2e5f-4b 15-8954-d8 0559ef0abb " | |
| 7594 | > | |
| 7595 | <con:setti ngs/> | |
| 7596 | <con:confi g> | |
| 7597 | <script> | |
| 7598 | import gro ovy.json.J sonSlurper | |
| 7599 | ||
| 7600 | def stepNa me = "Get Session 13 7" | |
| 7601 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 7602 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 7603 | ||
| 7604 | def status = slurper response.s tatus | |
| 7605 | def errorC ode = slur perrespons e.errorCod e | |
| 7606 | def messag e = slurpe rresponse. message | |
| 7607 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 7608 | ||
| 7609 | log.info(" Test Step: "+stepNam e) | |
| 7610 | log.info(" Status: "+ status.toS tring()) | |
| 7611 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 7612 | log.info(" Message: " +message.t oString()) | |
| 7613 | log.info(" Developer Message: " +developer Message.to String()) | |
| 7614 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 7615 | ||
| 7616 | assert sta tus == 400 | |
| 7617 | </script> | |
| 7618 | </con:conf ig> | |
| 7619 | </con:test Step> | |
| 7620 | <con:testS tep | |
| 7621 | type="rest request" | |
| 7622 | name="Get Session 13 8" | |
| 7623 | id="c9529e 6e-9b3e-4f a6-a7af-da e40fbc76a5 " | |
| 7624 | > | |
| 7625 | <con:setti ngs/> | |
| 7626 | <con:confi g | |
| 7627 | service="R x Refill A PI" | |
| 7628 | resourcePa th="/RxRef illService s/v2/patie nt/EDIPI/{ patientid} /session" | |
| 7629 | methodName ="Session" | |
| 7630 | xsi:type=" con:RestRe questStep" | |
| 7631 | xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce" | |
| 7632 | > | |
| 7633 | <con:restR equest | |
| 7634 | name="Get Session 13 8" | |
| 7635 | id="618a43 da-c292-4a f5-a6ec-bb 10827b729b " | |
| 7636 | mediaType= "applicati on/json" | |
| 7637 | postQueryS tring="fal se" | |
| 7638 | > | |
| 7639 | <con:setti ngs> | |
| 7640 | <con:setti ng | |
| 7641 | id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers " | |
| 7642 | > | |
| 7643 | <xml-fr agment xml ns:con="ht tp://eviwa re.com/soa pui/config "> | |
| 7644 | <con: entry key= "Authoriza tion" valu e="Bearer 5b92fb79-1 426-4953-8 424-faa86c da6943"/> | |
| 7645 | <con: entry key= "Accept" v alue="appl ication/js on"/> | |
| 7646 | </xml-f ragment> | |
| 7647 | </con:sett ing> | |
| 7648 | </con:sett ings> | |
| 7649 | <con:endpo int> | |
| 7650 | http://loc alhost:808 0 | |
| 7651 | </con:endp oint> | |
| 7652 | <con:reque st/> | |
| 7653 | <con:origi nalUri> | |
| 7654 | http://loc alhost/rxr /rxrefill/ prescripti on/9988776 655 | |
| 7655 | </con:orig inalUri> | |
| 7656 | <con:crede ntials> | |
| 7657 | <con:authT ype> | |
| 7658 | No Authori zation | |
| 7659 | </con:auth Type> | |
| 7660 | </con:cred entials> | |
| 7661 | <con:jmsCo nfig | |
| 7662 | JMSDeliver yMode="PER SISTENT" | |
| 7663 | /> | |
| 7664 | <con:jmsPr opertyConf ig/> | |
| 7665 | <con:param eters> | |
| 7666 | <entry | |
| 7667 | key="patie ntid" | |
| 7668 | value="138 " | |
| 7669 | xmlns="htt p://eviwar e.com/soap ui/config" | |
| 7670 | /> | |
| 7671 | </con:para meters> | |
| 7672 | <con:param eterOrder> | |
| 7673 | <con:entry > | |
| 7674 | patientid | |
| 7675 | </con:entr y> | |
| 7676 | </con:para meterOrder > | |
| 7677 | </con:rest Request> | |
| 7678 | </con:conf ig> | |
| 7679 | </con:test Step> | |
| 7680 | <con:testS tep | |
| 7681 | type="groo vy" | |
| 7682 | name="Log Results 13 8" | |
| 7683 | id="7f815a f6-1b64-40 bd-b34f-ea de46f15613 " | |
| 7684 | > | |
| 7685 | <con:setti ngs/> | |
| 7686 | <con:confi g> | |
| 7687 | <script> | |
| 7688 | import gro ovy.json.J sonSlurper | |
| 7689 | ||
| 7690 | def stepNa me = "Get Session 13 8" | |
| 7691 | responseCo ntent = te stRunner.t estCase.ge tTestStepB yName(step Name).getP ropertyVal ue("respon se") | |
| 7692 | slurperres ponse = ne w JsonSlur per().pars eText(resp onseConten t) | |
| 7693 | ||
| 7694 | def status = slurper response.s tatus | |
| 7695 | def errorC ode = slur perrespons e.errorCod e | |
| 7696 | def messag e = slurpe rresponse. message | |
| 7697 | def develo perMessage = slurper response.d eveloperMe ssage | |
| 7698 | ||
| 7699 | log.info(" Test Step: "+stepNam e) | |
| 7700 | log.info(" Status: "+ status.toS tring()) | |
| 7701 | log.info(" Error code : "+errorC ode.toStri ng()) | |
| 7702 | log.info(" Message: " +message.t oString()) | |
| 7703 | log.info(" Developer Message: " +developer Message.to String()) | |
| 7704 | log.info(" * * * End of Results for "+ste pName+" * * *") | |
| 7705 | ||
| 7706 | assert sta tus == 400 | |
| 7707 | </script> | |
| 7708 | </con:conf ig> | |
| 7709 | </con:test Step> | |
| 7710 | <con:prope rties/> | |
| 7711 | </con:test Case> | |
| 7712 | <con:prope rties> | |
| 7713 | <con:prope rty> | |
| 7714 | <con:name> | |
| 7715 | oAuthToken | |
| 7716 | </con:name > | |
| 7717 | <con:value > | |
| 7718 | 8ad08d9b-0 aff-40cb-a 544-55f863 d8a442 | |
| 7719 | </con:valu e> | |
| 7720 | </con:prop erty> | |
| 7721 | </con:prop erties> | |
| 7722 | </con:test Suite> | |
| 7723 | <con:prope rties/> | |
| 7724 | <con:wssCo ntainer/> | |
| 7725 | <con:oAuth 2ProfileCo ntainer/> | |
| 7726 | <con:sensi tiveInform ation/> | |
| 7727 | </con:soap ui-project > |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.