903. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 2/17/2017 4:29:07 PM Central 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.

903.1 Files compared

# Location File Last Modified
1 VSA P2.5 v3.0.12.zip CLIN_0002BA_RequestValidation_TestCasesVistAjs.xlsx Fri Feb 10 16:01:16 2017 UTC
2 VSA P2.5 v3.0.12.zip CLIN_0002BA_RequestValidation_TestCasesVistAjs.xlsx Fri Feb 17 05:05:01 2017 UTC

903.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 44 2408
Changed 44 190
Inserted 0 0
Removed 0 0

903.3 Comparison options

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

903.4 Active regular expressions

No regular expressions were active.

903.5 Comparison detail

  1   SHEET: VSA -P2 Cover
  2   VistA Serv ices Assem bler Phase  2 (VSA-P2 ),
  3   VistA.js P roject,
  4   Increment  3,
  5  
  6   Request Va lidation,
  7   Test Cases ,
  8  
  9  
  10  
  11   August 201 6,
  12   Version: 1 .0,
  13  
  14   Department  of Vetera ns Affairs  (VA),
  15  
  16  
  17  
  18  
  19  
  20   SHEET: Rev ision Hist ory
  21  
  22   Revision H istory,
  23   Date,Versi on,Descrip tion,Autho r,
  24   08/09/15,1 .0,Increme nt 3 Final  Version,A pex Data S olutions,
  25   08/05/16,0 .4,Changed  EDE Envir onment ste ps,Apex Da ta Solutio ns,
  26   07/13/16,0 .3,Changed  font to A rial 11 an d added re quirements  to test s teps.
  27   Added TC00 6 ,Apex Da ta Solutio ns,
  28   07/05/16,0 .2,Updated  Template, Apex Data  Solutions,
  29   06/08/16,0 .1,Initial  Version,A pex Data S olutions,
  30   Place late st revisio ns at top  of table.,
  31  
  32  
  33  
  34   SHEET: Tes t Summary
  35  
  36   Project Ti tle:,VistA  Services  Assembler  Phase 2 (V SA-P2)
  37   ,Tester Na me: ,Add T est Engine er
  38   ,
  39   Test Phase :,Incremen t 3
  40   ,Date Exec uted: ,Ent er Date Ex ecuted
  41   ,
  42   Release/Bu ild Number :,Add Rele ase/Build  Number inf ormation
  43   ,
  44   Environmen t Tested:, Add Enviro nment Test ed In, i.e . Apex Int ernal, Env ironment,  EDE, etc.
  45   ,
  46   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  47   Internet E xplorer re quired.
  48   ,
  49   Category:, VistA.js R equest Val idation Te st Scripts
  50   ,
  51   Test Objec tive: ,Tes t Request  Validation  functiona lity.
  52   ,
  53  
  54   Requiremen ts,Require ments Defi nitions,Te st Results ,Comments,
  55   IP ,The syste m shall di splay the  URL of the  service t o be teste d.,
  56   IP 6,VSA shal l not mani pulate (ch ange) the  consuming  applicatio n’s user i dentity or  authoriza tion attri butes.,
  57   IP 0,VSA gene rated serv ices shall  support t he executi on of a si ngle RPC o r routine  API.,
  58   IP 3,VSA shal l validate  the prese nce of req uired info rmation in  ‘service  requests’  including  user ident ity, input  parameter s, federat ion routin g, etc.,
  59   IP 2,VSA shal l facilita te the log ging of ‘s ervice req uest’ tran sactions.,
  60   IP 3,VSA tran saction lo gging data  shall inc lude date/ time of tr ansaction,  ‘consumin g applicat ion’, serv ice invoke d and dest ination Vi stA system s.,
  61   IP 3,VSA fede ration fun ctionality  shall fac ilitate ro uting of “ service re quests” to  all VistA  systems t o which a  specified  patient is  known (“t reating fa cilities”) .,
  62   IP 8,VSA shal l facilita te the ret urn of agg regated “s ervice req uest” resp onses from  multiple  VistA syst ems that a re incompl ete due to  time-out,  non-respo nsiveness,  etc. of o ne or more  VistA sys tems.,
  63   IP 3, IP 3 Refuse a  request i f required  informati on not pre sent in a  service re quest,
  64   IP 5,VSA shal l return s tandard HT TP error c odes as re lated to R epresentat ional Stat e Transfer  (REST) se rvices.,
  65  
  66  
  67  
  68   SHEET: TC0 01
  69  
  70   Project_ T itle:,Vist A Services  Assembler  Phase 2 ( VSA-P2)
  71   ,Tester_Na me:,Add Te st Enginee r
  72   ,
  73   Test Case  Name_Numbe r:,TC001_V istA.js Re quest Vali dation,Dat e_Executed : ,Enter D ate Execut ed
  74   ,
  75   Test_Descr iption:,Ex ecute a va lid REST C all and ve rify the r esponse. A lso verify  the trans action is  logged cor rectly.,Te st_Phase:  ,Increment  3
  76   ,
  77   Requiremen ts:, IP IP 0,  IP 2,  IP 3,Release/ Build Numb er:,Add Re lease/Buil d Number i nformation
  78   ,
  79   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  80   Internet E xplorer re quired.
  81   ,Environme nt Tested  In:,Add En vironment  Tested In,  i.e. Apex  Internal,  Environme nt, EDE, e tc.
  82   ,
  83   STEP_NUMBE R,ACTION,E XPECTED_RE SULTS,PASS /FAIL,REQU IREMENTS,C OMMENTS,
  84   Pre-requis ites speci fic for te st continu ed…,The tr eating fac ility iden tified by  baypines i s equal to  baypines.
  85  
  86   The server  the RESTi fied RPC e xists on i s identifi ed by bayp ines.
  87  
  88   A server e xception d oes NOT oc cur while  processing  the RPC i dentified  by /by-nam e/vps-get- sites/call .
  89   Note to Te ster: This  is the de fault cond ition no a ction requ ired.
  90  
  91   The consum ing applic ation for  the REST C all is ide ntified by   IP .
  92  
  93   A REST Cal l is perfo rmed that  executes t he RESTifi ed RPC ide ntified by  /by-name/ vps-get-si tes/call.
  94  
  95   The REST C all includ es a valid  value for  all of th e required  input par ameters
  96  
  97   The REST C all includ es valid F ederation  Routing.
  98  
  99   The RPC id entified b y /by-name /vps-get-s ites/call  is semanti cally corr ect.
  100  
  101   Keyword #3 ; REST Cal l
  102   Service ID  = /by-nam e/vps-get- sites/call
  103   InputPara  = VPSSN, 6 66000001
  104   InputPara1  = <NAME_1 >, <VALUE_ 1>
  105   InputPara2  = <NAME_2 >, <VALUE_ 2>
  106  
  107   The first  expected o utput valu e for /by- name/vps-g et-sites/c all is ide ntified by  995^CENTR AL CITY (C CC).
  108   The first  expected o utput valu e for /by- name/vps-g et-sites/c all is ide ntified by  <OUTPUT_1 >.
  109   The first  expected o utput valu e for /by- name/vps-g et-sites/c all is ide ntified by  <OUTPUT_2 >.
  110   ,n/a,
  111   Step 1,Lau nch the AP   Definition  Browser f rom https: //
. DNS : PORT /vsa-rpc-w izard .
  112  
  113   ,Certifica te Error p age is dis played.
  114  
  115   Note: Cert ificate Er ror Notifi cation pag e may not  display de pending on  environme nt certifi cates.
  116   ,
  117   Step 2,If  Certificat e Error No tification  is displa yed:
  118   Select  "C ontinue to  this webs ite (not r ecommended )." 
  119  
  120   If Certifi cate Error  Notificat ion is not  displayed :
  121   Verify the  VSA Serve r page is  displayed.
  122   ,VSA Serve r page is  displayed.
  123   ,
  124   Step 3,Scr oll to the  bottom an d locate A pplication  Name: API  Definitio n Browser.
  125  
  126   Click Laun ch Applica tion.
  127   ,Authoriza tion agree ment windo w is displ ayed.,
  128   Step 4,Cli ck Proceed .
  129   ,VistA.js  Federated  REST Servi ces API Br owser vx.x .x  page i s displaye d.
  130   ,
  131   Step 5,Sel ect Availa ble Server s.
  132   (Please se lect a ser ver from t he list di splays an  arrow poin ting to th e Servers  link.),A d ropdown me nu is disp layed list ing the fo llowing:
  133  
  134   baypines
  135   haley
  136   westpalm
  137  
  138   Note: List ing of ser vers may d iffer depe nding on e nvironment  accessed.
  139   ,
  140   Step 6,Sel ect baypin es from th e dropdown  menu.,Log in to bayp ines acces s window i s displaye d.
  141   ,
  142   Step 7,Ent er an Acce ss Code <A C> for the  VistA ins tance.
  143  
  144   Enter a Ve rify Code  <VC> for t he VistA i nstance.
  145  
  146   Click Conn ect.,User  is logged  in success fully.
  147  
  148   baypines i s the sele cted serve r.
  149  
  150   Username i s displaye d in the t op right c orner of t he web pag e.
  151  
  152   Log out bu tton is av ailable.
  153  
  154   ,
  155   Step 8,Sel ect the Av ailable Se rvices lin k.
  156   ,A dropdow n menu is  displayed  listing th e followin g:
  157  
  158   sessions
  159   veterans
  160   session
  161   iam
  162   server
  163   patients
  164   rpcs
  165   ,
  166   Step 9,Sel ect rpcs., VistA.js R PC REST Se rvice page  is displa yed.
  167  
  168   Services l isted:
  169  
  170   Restify
  171   RPCS
  172   Service
  173   ,
  174   Step 10,Se lect RPCS. ,VistA.js  RPC REST S ervice pag e is displ ayed.
  175  
  176   List of RP CS Get and  Post oper ations is  displayed.
  177   ,
  178   Step 11,Sc roll throu gh and sel ect POST / by-name/vp s get site s/call lin k.
  179   ,Operation  window is  expanded.
  180   ,
  181   Step 12,In  the VPSSN  Parameter  field, ty pe 6668922 22.
  182  
  183   Click Try  it out!
  184   ,Note: A s ecurity al ert may di splay depe nding on t he environ ment you a re accessi ng. Click  Yes to pro ceed.
  185  
  186   API Browse r displays  a post re sponse :
  187  
  188   Curl
  189   Request UR L
  190   Response B ody
  191   Response C ode
  192   Response H eaders
  193   ,IP,
  194   Step 13,Se lect the C url respon se:
  195  
  196   Click in f ront of th e curl (in  the respo nse body)
  197   scrolling  to the rig ht,
  198   press and  hold the s hift key 
  199   and then c lick at th e end on t he curl re sponse.
  200  
  201   Copy the s elected Cu rl line. ( Rt-click C opy or ctr l+c)
  202   ,The entir e Curl lin e is selec ted and co pied., IP 2,
  203   Step 14,Op en Notepad .
  204  
  205   Paste the  curl line  into Notep ad.
  206   (Rt-click  Paste or c trl+v)
  207   ,Curl line  is displa yed in a n otepad and  is editab le.,
  208   Step 15,Ad d a space  at the end  of the cu rl.
  209  
  210   Type -k af ter the sp ace.
  211  
  212   Press Ente r.,Display  should be  similar t o:
  213  
  214   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: 092 1dad1-4114 -417d-9d99 -7788e4c4c 977' -d 'V PSSN=66689 2222' 'htt ps:// DN SVSAAPPDEV 11.aac. DNS : PORT /vistas/ba ypines/rpc s/by-name/ vps%20get% 20sites/ca ll' -k
  215   ,
  216   Step 16,Op en a VM  u sing attac hment conn ection  (E DE).
  217   ,A command  prompt wi ndow opens .,
  218   Step 17,Au thenticate  using val id credent ials.
  219   ,Valid cre dentials h ave been a ccepted.
  220  
  221   Note: if t he tester  is already  logged in  an additi onal login  is not ne cessary
  222   ,
  223   Step 18,Pa ste the mo dified cur l line int o the comm and line p rompt .
  224  
  225   Press Ente r.
  226  
  227   ,A respons e is displ ayed.,
  228   Step 19,Ve rify the f ollowing s imilar res ponse is d isplayed:
  229  
  230   {
  231     "data":  {
  232       "1": " 672^SAN JU AN VAMC^30 40101^^VAM C",
  233       "2": " 516^BAY PI NES VAMC^3 010101^^VA MC",
  234       "3": " 673^TAMPA  (JAH VAH)^ 3020101^^V AMC",
  235       "4": " 548^WEST P ALM BEACH  VAMC^30301 01^^VAMC"
  236     }
  237  
  238   ,The follo wing simil ar respons e is displ ayed:
  239  
  240   {
  241     "data":  {
  242       "1": " 672^SAN JU AN VAMC^30 40101^^VAM C",
  243       "2": " 516^BAY PI NES VAMC^3 010101^^VA MC",
  244       "3": " 673^TAMPA  (JAH VAH)^ 3020101^^V AMC",
  245       "4": " 548^WEST P ALM BEACH  VAMC^30301 01^^VAMC"
  246       }, IP 0,
  247   Step 20,Cl ose Comman d Line win dow.
  248   ,Command L ine window  is closed .,
  249  
  250  
  251  
  252   SHEET: TC0 02
  253  
  254   Project_ T itle:,Vist A Services  Assembler  Phase 2 ( VSA-P2)
  255   ,Tester_Na me:,Add Te st Enginee r
  256   ,
  257   Test Case  Name_Numbe r:,TC002_V istA.js Re quest Vali dation,Dat e_Executed : ,Enter D ate Execut ed
  258   ,
  259   Test_Descr iption:,Ex ecute a RE ST Call wi th an RPC  not saved  on the ser ver to ver ify the Se rver error  response, Test_Phase : ,Increme nt 3
  260   ,
  261   Requiremen ts:, IP 6,Release/ Build Numb er:,Add Re lease/Buil d Number i nformation
  262   ,
  263   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  264   Internet E xplorer re quired.
  265   ,Environme nt Tested  In:,Add En vironment  Tested In,  i.e. Apex  Internal,  Environme nt, EDE, e tc.
  266   ,
  267   STEP_NUMBE R,ACTION,E XPECTED_RE SULTS,PASS /FAIL,REQU IREMENTS,C OMMENTS,
  268   Pre-requis ite specif ic for tes t,A valid  RESTified  Remote Pro cedure Cal l (RPC) id entified b y <RPC> ex ists.
  269   Note to Te ster: <RPC > cannot h ave more t han three  required I nput Param eters
  270  
  271   The requir ed Input P arameter f ield name  for <RPC>  is identif ied by <NA ME>.
  272  
  273   The value  of the req uired Inpu t Paramete r for <RPC > is ident ified by < VALUE>.
  274  
  275   The second  required  Input Para meter fiel d name for  <RPC> is  identified  by <NAME_ 1>.
  276  
  277   The value  of the sec ond requir ed Input P arameter f or <RPC> i s identifi ed by <VAL UE>.
  278  
  279   The third  required I nput Param eter field  name for  <RPC> is i dentified  by <NAME_2 >.
  280  
  281   The value  of the thi rd require d Input Pa rameter fo r <RPC> is  identifie d by <VALU E>.
  282  
  283   The RPC id entified b y <RPC> is  for a sin gle destin ation Vist A system i dentified  by <DEST>.
  284   Note to Te ster: For  patient re lated meth ods (i.e.  GET, DELET E, etc.) t he destina tion VistA  system is  defined b y the trea ting facil ity of the  patient.
  285  
  286   The treati ng facilit y identifi ed by <DES T> is NOT  equal to < SERVER>.
  287  
  288   The server  the RESTi fied RPC e xists on i s identifi ed by <SER VER>.
  289  
  290   A REST Cal l is perfo rmed that  executes t he RESTifi ed RPC ide ntified by  <RPC>.
  291  
  292   The REST C all includ es a valid  value for  all of th e required  input par ameters
  293  
  294   The REST C all includ es valid F ederation  Routing.
  295  
  296   The RPC id entified b y <RPC> is  semantica lly correc t.
  297  
  298   Keyword #3 ; REST Cal l
  299   Service ID  = <RPC>
  300   InputPara  = <NAME>,  <VALUE>
  301   InputPara1  = <NAME_1 >, <VALUE_ 1>
  302   InputPara2  = <NAME_2 >, <VALUE_ 2>
  303  
  304   ,The syste m responds  with an e rror stati ng that th e requeste d RPC does  not exist  on the ta rget serve r.
  305  
  306   Note: <ERR > is the e xpected er ror messag e text.
  307  
  308   Keyword #4 ; Verify R esponse
  309   Service ID  = <RPC>
  310   Output = B ody, <ERR>
  311  
  312   ,
  313   Step 1,Lau nch the AP   Definition  Browser f rom https: //
. DNS : PORT /vsa-rpc-w izard .
  314  
  315   ,Certifica te Error p age is dis played.
  316  
  317   Note: Cert ificate Er ror Notifi cation pag e may not  display de pending on  environme nt certifi cates.
  318   ,
  319   Step 2,If  Certificat e Error No tification  is displa yed:
  320   Select  "C ontinue to  this webs ite (not r ecommended )." 
  321  
  322   If Certifi cate Error  Notificat ion is not  displayed :
  323   Verify the  VSA Serve r page is  displayed.
  324   ,VSA Serve r page is  displayed.
  325   ,
  326   Step 3,Scr oll to the  bottom an d locate A pplication  Name: API  Definitio n Browser.
  327  
  328   Click Laun ch Applica tion.
  329   ,Authoriza tion agree ment windo w is displ ayed.,
  330   Step 4,Cli ck Proceed .
  331   ,VistA.js  Federated  REST Servi ces API Br owser vx.x .x  page i s displaye d.
  332   ,
  333   Step 5,Sel ect Availa ble Server s.
  334   (Please se lect a ser ver from t he list di splays an  arrow poin ting to th e Servers  link.),A d ropdown me nu is disp layed list ing the fo llowing:
  335  
  336   baypines
  337   haley
  338   westpalm
  339  
  340   Note: List ing of ser vers may d iffer depe nding on e nvironment  accessed.
  341   ,
  342   Step 6,Sel ect baypin es from th e dropdown  menu.,Log in to bayp ines acces s window i s displaye d.
  343   ,
  344   Step 7,Ent er an Acce ss Code <A C> for the  VistA ins tance.
  345  
  346   Enter a Ve rify Code  <VC> for t he VistA i nstance.
  347  
  348   Click Conn ect.,User  is logged  in success fully.
  349  
  350   baypines i s the sele cted serve r.
  351  
  352   Username i s displaye d in the t op right c orner of t he web pag e.
  353  
  354   Log out bu tton is av ailable.
  355  
  356   ,
  357   Step 8,Sel ect the Av ailable Se rvices lin k.
  358   ,A dropdow n menu is  displayed  listing th e followin g:
  359  
  360   sessions
  361   veterans
  362   session
  363   iam
  364   server
  365   patients
  366   rpcs
  367   ,
  368   Step 9,Sel ect rpcs., VistA.js R PC REST Se rvice page  is displa yed.
  369  
  370   Services l isted:
  371  
  372   Restify
  373   RPCS
  374   Service
  375   ,
  376   Step 10,Se lect RPCS. ,VistA.js  RPC REST S ervice pag e is displ ayed.
  377  
  378   List of RP CS Get and  Post oper ations is  displayed.
  379   ,
  380   Step 11,Sc roll throu gh and sel ect POST / by-name/vp s get alle rgies/call  link.
  381   ,Operation  window is  expanded.
  382   ,
  383   Step 12,In  the VPSSN  Parameter  field, ty pe 6668922 22
  384  
  385   Click Try  it out!
  386   ,Note: A s ecurity al ert may di splay depe nding on t he environ ment you a re accessi ng. Click  Yes to pro ceed.
  387  
  388   API Browse r displays  a post re sponse :
  389  
  390   Curl
  391   Request UR L
  392   Response B ody
  393   Response C ode
  394   Response H eaders
  395   ,
  396   Step 13,Se lect the C url respon se:
  397  
  398   Click in f ront of th e curl (in  the respo nse body)
  399   scrolling  to the rig ht,
  400   press and  hold the s hift key 
  401   and then c lick at th e end on t he curl re sponse.
  402  
  403   Copy the s elected Cu rl line. ( Rt-click C opy or ctr l+c)
  404   ,The entir e Curl lin e is selec ted and co pied.,
  405   Step 14,Op en Notepad .
  406  
  407   Paste the  curl line  into Notep ad.
  408   (Rt-click  Paste or c trl+v)
  409   ,Curl line  is displa yed in a n otepad and  is editab le.,
  410   Step 15,Re place the  name of th e server u sing your  own name.
  411  
  412   ,Display s hould be s imilar to:
  413  
  414   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: 092 1dad1-4114 -417d-9d99 -7788e4c4c 977' -d 'V PSSN=66689 2222' 'htt ps:// DN SVSAAPPDEV 11.aac. DNS : PORT /vistas/ba ypines/rpc s/by-name/ vps%20get% 20sites/ca ll' 
  415   ,
  416   Step 16,Ad d a space  at the end  of the cu rl.
  417  
  418   Type -k af ter the sp ace.
  419  
  420   Press Ente r.,Display  should be  similar t o:
  421  
  422   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: 092 1dad1-4114 -417d-9d99 -7788e4c4c 977' -d 'V PSSN=66689 2222' 'htt ps:// DN SVSAAPPDEV 11.aac. DNS : PORT /vistas/ba ypines/rpc s/by-name/ vps%20get% 20sites/ca ll' -k
  423   ,
  424   Step 17,Se lect the A vailable S ervices li nk.
  425   ,A dropdow n menu is  displayed  listing th e followin g:
  426  
  427   sessions
  428   veterans
  429   session
  430   iam
  431   server
  432   patients
  433   rpcs
  434   ,
  435   Step 18,In  RPC Name  input Para meter fiel d type:
  436  
  437   VPS GET SI TES
  438  
  439   Click Try  it out!,A  response i s displaye d.,
  440   Step 19,Ve rify the d isplay  is :
  441  
  442   {
  443     "data":  {
  444       "IEN":  " a numbe r"
  445     }
  446   }
  447  
  448   ,Display s hould be s imilar to:
  449  
  450   {
  451     "data":  {
  452       "IEN":  " a numbe r"
  453     }
  454   }
  455  
  456   Note: the  number can  change,
  457   Step 20,Op en a VM  u sing attac hment conn ection  (E DE).
  458   ,Valid cre dentials h ave been a ccepted.
  459  
  460   Note: if t he tester  is already  logged in , an addit ional logi n is not n ecessary,
  461   Step 21,Au thenticate  using val id credent ials.
  462   ,Valid cre dentials h ave been a ccepted.,
  463   Step 22,Pa ste the mo dified cur l line int o the comm and line p rompt .
  464  
  465   Press Ente r.
  466  
  467   ,A respons e is displ ayed.,
  468   Step 23,Ve rify the f ollowing s imilar res ponse is d isplayed:
  469  
  470   <s:// IP : PORT /vistas/ba ypines/rpc s/by-name/ dog/call'  -k
  471   {
  472     "error":  "Cannot l ocate defi nition for  specified  RPC:",The  following  similar r esponse is  displayed :
  473  
  474   <s:// IP : PORT /vistas/ba ypines/rpc s/by-name/ dog/call'  -k
  475   {
  476     "error":  "Cannot l ocate defi nition for  specified  RPC:"
  477   ,IP6,
  478   Step 24,Cl ose Comman d Line win dow.
  479   ,Command L ine window  is closed .,
  480  
  481  
  482  
  483   SHEET: TC0 03
  484  
  485   Project_ T itle:,Vist A Services  Assembler  Phase 2 ( VSA-P2)
  486   ,Tester_Na me:,Add Te st Enginee r
  487   ,
  488   Test Case  Name_Numbe r:,TC003_V istA.js Re quest Vali dation,Dat e_Executed : ,Enter D ate Execut ed
  489   ,
  490   Test_Descr iption:,Ex ecute a RE ST Call wi th an inva lid RPC,Te st_Phase:  ,Increment  3
  491   ,
  492   Requiremen ts:, IP 5,  IP 3,  IP 8,Release/ Build Numb er:,Add Re lease/Buil d Number i nformation
  493   ,
  494   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  495   Internet E xplorer re quired.
  496   ,Environme nt Tested  In:,Add En vironment  Tested In,  i.e. Apex  Internal,  Environme nt, EDE, e tc.
  497   ,
  498   STEP_NUMBE R,ACTION,E XPECTED_RE SULTS,PASS /FAIL,REQU IREMENTS,C OMMENTS,
  499   Pre-requis ite specif ic for tes t,A valid  RESTified  Remote Pro cedure Cal l (RPC) id entified b y /by-name /vps-get-s ite/call e xists.
  500   Note to Te ster: /by- name/vps-g et-site/ca ll cannot  have more  than three  required  Input Para meters
  501  
  502   The RPC id entified b y /by-name /vps-get-s ite/call i s for a si ngle desti nation Vis tA system  identified  by sanjua n.
  503  
  504   Note to Te ster: For  patient re lated meth ods (i.e.  GET, DELET E, etc.) t he destina tion VistA  system is  defined b y the trea ting facil ity of the  patient.
  505  
  506   The server  the RESTi fied RPC e xists on i s identifi ed by <SER VER>.
  507  
  508   A REST Cal l is perfo rmed that  executes t he RESTifi ed RPC ide ntified by  /by-name/ vps-get-si te/call.
  509  
  510   The REST C all includ es a valid  value for  all of th e required  input par ameters
  511  
  512   The REST C all includ es valid F ederation  Routing.
  513  
  514   The RPC id entified b y /by-name /vps-get-s ite/call i s NOT sema ntically c orrect.
  515  
  516   Keyword #8 ; CURL RES T Call
  517   Service ID  = /by-nam e/vps-get- site/call
  518   Input Para meters = Y es
  519   Fed Routin g = Yes
  520   Semantics  = No
  521   ,The syste m responds  with a st andard HTT P error.
  522  
  523   Note: coul dn't conne ct to host  is the ex pected err or message  text.
  524  
  525   Keyword #4 ; Verify R esponse
  526   Service ID  = /by-nam e/vps-get- site/call
  527   Output = B ody, could n't connec t to host
  528  
  529   ,IP5
  530   IP3
  531   IP8,
  532   Step 1,Ope n a VM  us ing attach ment conne ction  (ED E).
  533   ,A command  prompt wi ndow opens .,
  534   Step 2,Aut henticate  using vali d credenti als.
  535   ,Valid cre dentials h ave been a ccepted.
  536  
  537   Note: If a  session i s already  open, logi n will not  be necess ary,
  538   Step 3,Typ e in the c ommand lin e sudo su  -caheusr,W e trust yo u have rec eived the  usual lect ure from t he local S ystem
  539   Administra tor. It us ually boil s down to  these thre e things:
  540  
  541       #1) Re spect the  privacy of  others.
  542       #2) Th ink before  you type.
  543       #3) Wi th great p ower comes  great res ponsibilit y.,
  544   Step 4,Ver ify the di splay:
  545  
  546   [sudo] pas sword for  <tester>:
  547  
  548   Enter the  password,p assword is  not displ ayed but i s case sen sitive,
  549   Step 5,In  the comman d line pro mpt:
  550  
  551   [cacheusr@ <tester> v js]$ 
  552  
  553   Type: llß  List Direc tory,The f ollowing s imilar res ponse is d isplayed:
  554  
  555   total 1221 40
  556   -rw-r----- . 1 cacheu sr cacheus      5208 Mar    9 22: PORT  httpReque st.js
  557   -rw-r----- . 1 cacheu sr cacheus      5204 Mar    9 19: PORT  httpReque st.txt
  558   -rw-r----- . 1 cacheu sr cacheus     28434 Apr  26 17: PORT  index.htm l
  559   drwxr-x--- . 4 cacheu sr cacheus      4096 Jul 2 7 06: PORT  Maestro
  560   drwxr-x--- . 4 cacheu sr cacheus      4096 Jul 2 7 06: PORT  MaestroIn staller
  561   -rw-r----- . 1 cacheu sr cacheus     25982 Apr  26 17: PORT  rpc-wizar d-viewmode l.js
  562   -rw-r----- . 1 cacheu sr cacheus      1704 Mar 1 5 13: PORT  s
  563   -rw-r----- . 1 cacheu sr cacheus      3165 Mar    9 22: PORT  SessionCa che.js
  564   drwxr-x--- . 3 cacheu sr cacheus      4096 Aug    8 09: PORT  vjs-envir onment
  565   -rw-r----- . 1 cacheu sr cacheus    183424 Jul  22 10: PORT  vps_1_19. kid
  566   -rw-r----- . 1 cacheu sr cacheus    158190 May  11 09: PORT  vps_1_6.k id
  567   -rw-r----- . 1 cacheu sr cacheus r 10484694  Jun 23 11 : PORT  vsa_vista js_environ ment_3.0.5 .tgz
  568   -rw-r----- . 1 cacheu sr cacheus r 55256112  Jun 21 12 : PORT  vsa_vista js_maestro _3.0.5.tgz
  569   -rw-r----- . 1 cacheu sr cacheus r 58277201  Jul 27 06 : PORT  vsa-vista js-maestro -v3.0.8-be ta.4.tgz
  570   -rw-r----- . 1 cacheu sr cacheus    154018 Jun  17 12: PORT  XSA_1_0.K ID
  571   -rw-r----- . 1 cacheu sr cacheus    180580 Jun  17 12: PORT  XSAPXROUT INES.ro
  572   -rw-r----- . 1 cacheu sr cacheus    268166 Mar  14 09: PORT  XU_8_659_ V9.KID
  573   ,
  574   Step 6,In  the comman d line pro mpt 
  575  
  576   [cacheusr@ <tester> ~ ]$
  577  
  578   Type: cd v js-environ ment/ ß Ch ange Direc tory to VJ S-ENVIRONM ENT,The fo llowing si milar resp onse is di splayed:
  579  
  580   [cacheusr@ <tester>vj s-environm ent]$,
  581   Step 7,In  the comman d line pro mpt:
  582    
  583   [cacheusr@ <tester> v js-environ ment]$
  584  
  585    source ./ use_node.s h <-Set th e correct  user PATH, The follow ing simila r response  is displa yed:
  586  
  587   [cacheusr@ <tester> v js-environ ment]$,
  588   Step 8,In  the comman d line pro mpt:
  589  
  590   [cacheusr@ <tester> v js-environ ment]$ 
  591  
  592   cd /srv/vi sta/vsa/us er/vjs/ ß  Change Dir ectory to  VJS,The fo llowing si milar resp onse is di splayed:
  593  
  594   [cacheusr@ DN SVSAAPPDEV 11 vjs]$ ,
  595   Step 9,In  the comman d line pro mpt:
  596  
  597   [cacheusr@ <tester> v js]$ 
  598  
  599   Type: llß  List Direc tory,The f ollowing s imilar res ponse is d isplayed:
  600  
  601   total 56 
  602   drwxr-x--- . 13 cache usr cacheu sr 4096 Ju l 27 07: PORT  baypines
  603   -rw-r-----   1 cacheusr  cacheusr  1769 Jul 2 7 07: PORT  baypines- config.js
  604   -rw-r-----   1 cacheusr  cacheusr  1774 Jul 2 7 07: PORT  federator -config.js
  605   drwxr-x--- . 13 cache usr cacheu sr 4096 Ju l 27 07: PORT  haley
  606   -rw-r-----   1 cacheusr  cacheusr  1763 Jul 2 7 07: PORT  haley-con fig.js
  607   -rw-r-----   1 cacheusr  cacheusr  1652 Jul 2 8 09: PORT  mrar-conf ig.js
  608   drwxr-x--- . 13 cache usr cacheu sr 4096 Ju l 27 07: PORT  sanjuan
  609   -rw-r-----   1 cacheusr  cacheusr  1767 Jul 2 7 07: PORT  sanjuan-c onfig.js
  610   drwxr-x--- . 13 cache usr cacheu sr 4096 Ju l 27 07: PORT  vjs-feder ator
  611   -rw-r-----   1 cacheusr  cacheusr  2339 Jul 2 7 07: PORT  vjs-vista -router.js
  612   -rw-r-----   1 cacheusr  cacheusr  1717 Jul 2 7 07: PORT  web-confi g.js
  613   drwxr-x--- . 13 cache usr cacheu sr 4096 Ju l 27 07: PORT  webux
  614   drwxr-x--- . 13 cache usr cacheu sr 4096 Ju l 27 07: PORT  westpalm
  615   -rw-r-----   1 cacheusr  cacheusr  1769 Jul 2 7 07: PORT  westpalm- config.js
  616   ,
  617   Step 10,In  the comma nd line pr ompt:
  618  
  619   [cacheusr@ <tester> v js]$ 
  620  
  621   Type: nets tat -plnt  | grep nod e,The foll owing simi lar respon se is disp layed:
  622  
  623   (Not all p rocesses c ould be id entified,  non-owned  process in fo
  624    will not  be shown,  you would  have to be  root to s ee it all. )
  625   tcp             IP : PORT -Baypines         IP :*                      LISTEN 307 5/node
  626   tcp             IP : PORT -Haley            IP :*                      LISTEN 309 7/node 
  627   tcp             IP : PORT -SanJuan          IP :*                      LISTEN 848 1/node    tcp             IP : PORT -Westpalm         IP :*                      LISTEN 319 8/node   
  628   tcp             IP : PORT -Federator         IP :*                      LISTEN 324 9/node   
  629   tcp             IP : PORT -Web               IP :*                      LISTEN 322 3/node    
  630   ,
  631   Step 11,In  the comma nd line pr ompt:
  632  
  633   [cacheusr@ <tester> v js]$ 
  634  
  635   Type: fore ver 3097 ß  To stop t he Haley s erver,The  following  similar re sponse is  displayed:
  636  
  637   [cacheusr@ DN SVSAAPPDEV 11 sanjuan ]$ ,
  638   Step 12,In  the comma nd line pr ompt:
  639  
  640   [cacheusr@ <tester> s anjuan]$ 
  641  
  642   Type: nets tat -plnt  | grep nod e,The foll owing simi lar respon se is disp layed:
  643  
  644   (Not all p rocesses c ould be id entified,  non-owned  process in fo
  645    will not  be shown,  you would  have to be  root to s ee it all. )
  646   tcp             IP : PORT                    IP :*                      LISTEN 307 5/node            
  647   tcp             IP : PORT                    IP :*                      LISTEN 938 3/node            
  648   tcp             IP : PORT                    IP :*                      LIST     3198/node            
  649   tcp             IP : PORT                    IP :*                      LISTEN 249 /node            
  650   tcp             IP : PORT                    IP :*                      LISTEN 322 3/node 
  651   ,
  652   Step 13,Ve rify that  port 8081  is no long er active,  confirmin g that Hal ey is offl ine. ,that  port 8081  is no lon ger active , confirmi ng that Ha ley is off line.,
  653   Step 14,La unch the A PI    Definition  Browser f rom https: //
. DNS : PORT /vsa-rpc-w izard .
  654  
  655   ,Certifica te Error p age is dis played.
  656  
  657   Note: Cert ificate Er ror Notifi cation pag e may not  display de pending on  environme nt certifi cates.
  658   ,
  659   Step 15,If  Certifica te Error N otificatio n is displ ayed:
  660   Select  "C ontinue to  this webs ite (not r ecommended )." 
  661  
  662   If Certifi cate Error  Notificat ion is not  displayed :
  663   Verify the  VSA Serve r page is  displayed.
  664   ,VSA Serve r page is  displayed.
  665   ,
  666   Step 16,Sc roll to th e bottom a nd locate  Applicatio n Name: AP I Definiti on Browser .
  667  
  668   Click Laun ch Applica tion.
  669   ,Authoriza tion agree ment windo w is displ ayed.,
  670   Step 17,Cl ick Procee d.
  671   ,VistA.js  Federated  REST Servi ces API Br owser vx.x .x  page i s displaye d.
  672   ,
  673   Step 18,Se lect Avail able Serve rs.
  674   (Please se lect a ser ver from t he list di splays an  arrow poin ting to th e Servers  link.),A d ropdown me nu is disp layed list ing the fo llowing:
  675  
  676   baypines
  677   haley
  678   westpalm
  679  
  680   Note: List ing of ser vers may d iffer depe nding on e nvironment  accessed.
  681   ,
  682   Step 19,Se lect baypi nes from t he dropdow n menu.,Lo gin to bay pines acce ss window  is display ed.
  683   ,
  684   Step 20,En ter an Acc ess Code < AC> for th e VistA in stance.
  685  
  686   Enter a Ve rify Code  <VC> for t he VistA i nstance.
  687  
  688   Click Conn ect.,User  is logged  in success fully.
  689  
  690   baypines i s the sele cted serve r.
  691  
  692   Username i s displaye d in the t op right c orner of t he web pag e.
  693  
  694   Log out bu tton is av ailable.
  695  
  696   ,
  697   Step 21,Se lect the A vailable S ervices li nk.
  698   ,A dropdow n menu is  displayed  listing th e followin g:
  699  
  700   sessions
  701   veterans
  702   session
  703   iam
  704   server
  705   patients
  706   rpcs
  707   ,
  708   Step 22,Se lect RPCS. ,VistA.js  RPC REST S ervice pag e is displ ayed.
  709  
  710   List of RP CS Get and  Post oper ations is  displayed.
  711   ,
  712   Step 23,Sc roll throu gh and sel ect POST / by-name/vp s get site s/call lin k.
  713   ,Operation  window is  expanded.
  714   ,
  715   Step 24,In  the VPSSN  Parameter  field, ty pe 6668922 22.
  716  
  717   Click Try  it out!
  718   ,Note: A s ecurity al ert may di splay depe nding on t he environ ment you a re accessi ng. Click  Yes to pro ceed.
  719  
  720   API Browse r displays  a post re sponse :
  721  
  722   Curl
  723   Request UR L
  724   Response B ody
  725   Response C ode
  726   Response H eaders
  727   ,
  728   Step 25,Se lect the C url respon se:
  729  
  730   Click in f ront of th e curl (in  the respo nse body)
  731   scrolling  to the rig ht,
  732   press and  hold the s hift key 
  733   and then c lick at th e end on t he curl re sponse.
  734  
  735   Copy the s elected Cu rl line. ( Rt-click C opy or ctr l+c)
  736   ,The entir e Curl lin e is selec ted and co pied.,
  737   Step 26,Op en Notepad .
  738  
  739   Paste the  curl line  into Notep ad.
  740   (Rt-click  Paste or c trl+v)
  741   ,Curl line  is displa yed in a n otepad and  is editab le.,
  742   Step 27,Ty pe Haley f or the ser ver baypin es,Display  should be  similar t o:
  743  
  744   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: 092 1dad1-4114 -417d-9d99 -7788e4c4c 977' -d 'V PSSN=66689 2222' 'htt ps:// DN SVSAAPPDEV 11.aac. DNS : PORT /vistas/ha ley/rpcs/b y-name/vps %20get%20s ites/call'  -k
  745   ,
  746   Step 28,Ad d a space  at the end  of the cu rl.
  747  
  748   Type -k af ter the sp ace.
  749  
  750   Press Ente r.,Display  should be  similar t o:
  751  
  752   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: 092 1dad1-4114 -417d-9d99 -7788e4c4c 977' -d 'V PSSN=66689 2222' 'htt ps:// DN SVSAAPPDEV 11.aac. DNS : PORT /vistas/ha ley/rpcs/b y-name/vps %20get%20s ites/call'  -k
  753   ,
  754   Step 29,Op en a VM  u sing attac hment conn ection  (E DE).
  755   ,A command  prompt wi ndow opens .,
  756   Step 30,Au thenticate  using val id credent ials.
  757   ,Valid cre dentials h ave been a ccepted.
  758  
  759   Note: if t he tester  is already  logged in  an additi onal login  is not ne cessary,
  760   Step 31,Pa ste the mo dified cur l line int o the comm and line p rompt .
  761  
  762   Press Ente r.
  763  
  764   ,A respons e is displ ayed.,
  765   Step 32,Ve rify the f ollowing s imilar res ponse is d isplayed:
  766  
  767   curl: try  'curl --he lp' or 'cu rl --manua l' for mor e informat ion
  768   [s101zdg2@ DN SVSAAPPDEV 11 ~]$ cur l -X POST  --header ' Content-Ty pe: applic ation/x-ww w-form-url encoded' - -header 'A ccept: app lication
  769   /json' --h eader 'VJS -SESSION-T OKEN: 0921 dad1-4114- 417d-9d99- 7788e4c4c9 77' -d 'VP SSN=666892 222' 'http s:// DN SVSAAPPDEV 11.aac. DNS :
  770   8084/vista s/haley/rp cs/by-name /vps%20get %20sites/c all' -k
  771   {
  772     "code":  "ECONNREFU SED",
  773     "error":  "Connecti on Refused "
  774  
  775   ,The follo wing simil ar respons e is displ ayed:
  776  
  777   curl: try  'curl --he lp' or 'cu rl --manua l' for mor e informat ion
  778   [s101zdg2@ DN SVSAAPPDEV 11 ~]$ cur l -X POST  --header ' Content-Ty pe: applic ation/x-ww w-form-url encoded' - -header 'A ccept: app lication
  779   /json' --h eader 'VJS -SESSION-T OKEN: 0921 dad1-4114- 417d-9d99- 7788e4c4c9 77' -d 'VP SSN=666892 222' 'http s:// DN SVSAAPPDEV 11.aac. DNS :
  780   8084/vista s/haley/rp cs/by-name /vps%20get %20sites/c all' -k
  781   {
  782     "code":  "ECONNREFU SED",
  783     "error":  "Connecti on Refused ",
  784   Step 33,Cl ose Comman d Line win dow.
  785   ,Command L ine window  is closed .,
  786  
  787  
  788  
  789   SHEET: TC0 04
  790  
  791   Project_ T itle:,Vist A Services  Assembler  Phase 2 ( VSA-P2)
  792   ,Tester_Na me:,Add Te st Enginee r
  793   ,
  794   Test Case  Name_Numbe r:,TC004_V istA.js Re quest Vali dation,Dat e_Executed : ,Enter D ate Execut ed
  795   ,
  796   Test_Descr iption:,Ex ecute a RE ST Call wi th no fede rated rout ing,Test_P hase: ,Inc rement 3
  797   ,
  798   Requiremen ts:, IP 3,Release/ Build Numb er:,Add Re lease/Buil d Number i nformation
  799   ,
  800   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  801   Internet E xplorer re quired.
  802   ,Environme nt Tested  In:,Add En vironment  Tested In,  i.e. Apex  Internal,  Environme nt, EDE, e tc.
  803   ,
  804   STEP_NUMBE R,ACTION,E XPECTED_RE SULTS,PASS /FAIL,REQU IREMENTS,C OMMENTS,
  805   Pre-requis ite specif ic for tes t,A valid  RESTified  Remote Pro cedure Cal l (RPC) id entified b y /by-name /vps-get-a llergies/c all  exist s.
  806  
  807   Note to Te ster: /by- name/vps-g et-allergi es/call  c annot have  more than  three req uired Inpu t Paramete rs
  808  
  809   The RPC id entified b y /by-name /vps-get-a llergies/c all  is fo r a single  destinati on VistA s ystem iden tified byb aypines.
  810  
  811   Note to Te ster: For  patient re lated meth ods (i.e.  GET, DELET E, etc.) t he destina tion VistA  system is  defined b y the trea ting facil ity of the  patient.
  812  
  813   The server  the RESTi fied RPC e xists on i s identifi ed by <SER VER>.
  814  
  815   A REST Cal l is perfo rmed that  executes t he RESTifi ed RPC ide ntified by  /by-name/ vps-get-al lergies/ca ll .
  816  
  817   The REST C all includ es a valid  value for  all of th e required  input par ameters
  818  
  819   The valid  REST Call  does NOT i nclude Fed eration Ro uting.
  820  
  821   Note: /by- name/vps-g et-allergi es/call  i s the only  RPC to be  executed  by the RES T Call.
  822  
  823   Keyword #8 ; CURL RES T Call
  824   Service ID  = /by-nam e/vps-get- allergies/ call 
  825   Input Para meters = Y es
  826   Fed Routin g = No
  827   ,The VSA r efuses the  request a nd returns  an error  response i ndicating  that the r equired Fe derated Ro uting info rmation wa s not pres ent.
  828  
  829   Note: Unkn own VistA  target is  the expect ed error m essage tex t.
  830  
  831   Keyword #4 ; Verify R esponse
  832   Service ID  = /by-nam e/vps-get- allergies/ call 
  833   Output = B ody, Unkno wn VistA t arget
  834  
  835   ,
  836  
  837   ,
  838   Step 1,Lau nch the AP   Definition  Browser f rom https: //
. DNS : PORT /vsa-rpc-w izard .
  839  
  840   ,Certifica te Error p age is dis played.
  841  
  842   Note: Cert ificate Er ror Notifi cation pag e may not  display de pending on  environme nt certifi cates.
  843   ,
  844   Step 2,If  Certificat e Error No tification  is displa yed:
  845   Select  "C ontinue to  this webs ite (not r ecommended )." 
  846  
  847   If Certifi cate Error  Notificat ion is not  displayed :
  848   Verify the  VSA Serve r page is  displayed.
  849   ,VSA Serve r page is  displayed.
  850   ,
  851   Step 3,Scr oll to the  bottom an d locate A pplication  Name: API  Definitio n Browser.
  852  
  853   Click Laun ch Applica tion.
  854   ,Authoriza tion agree ment windo w is displ ayed.,
  855   Step 4,Cli ck Proceed .
  856   ,VistA.js  Federated  REST Servi ces API Br owser vx.x .x  page i s displaye d.
  857   ,
  858   Step 5,Sel ect Availa ble Server s.
  859   (Please se lect a ser ver from t he list di splays an  arrow poin ting to th e Servers  link.),A d ropdown me nu is disp layed list ing the fo llowing:
  860  
  861   baypines
  862   haley
  863   westpalm
  864  
  865   Note: List ing of ser vers may d iffer depe nding on e nvironment  accessed.
  866   ,
  867   Step 6,Sel ect baypin es from th e dropdown  menu.,Log in to bayp ines acces s window i s displaye d.
  868   ,
  869   Step 7,Ent er an Acce ss Code <A C> for the  VistA ins tance.
  870  
  871   Enter a Ve rify Code  <VC> for t he VistA i nstance.
  872  
  873   Click Conn ect.,User  is logged  in success fully.
  874  
  875   baypines i s the sele cted serve r.
  876  
  877   Username i s displaye d in the t op right c orner of t he web pag e.
  878  
  879   Log out bu tton is av ailable.
  880  
  881   ,
  882   Step 8,Sel ect the Av ailable Se rvices lin k.
  883   ,A dropdow n menu is  displayed  listing th e followin g:
  884  
  885   sessions
  886   veterans
  887   session
  888   iam
  889   server
  890   patients
  891   rpcs
  892   ,
  893   Step 9,Sel ect rpcs., VistA.js R PC REST Se rvice page  is displa yed.
  894  
  895   Services l isted:
  896  
  897   Restify
  898   RPCS
  899   Service
  900   ,
  901   Step 10,Se lect RPCS. ,VistA.js  RPC REST S ervice pag e is displ ayed.
  902  
  903   List of RP CS Get and  Post oper ations is  displayed.
  904   ,
  905   Step 11,Sc roll throu gh and sel ect POST / by-name/vp s get alle rgies/call  link.
  906   ,Operation  window is  expanded.
  907   ,
  908   Step 12,In  the VPSDF N Paramete r field, t ype 236
  909  
  910   Click Try  it out!
  911   ,Note: A s ecurity al ert may di splay depe nding on t he environ ment you a re accessi ng. Click  Yes to pro ceed.
  912  
  913   API Browse r displays  a post re sponse :
  914  
  915   Curl
  916   Request UR L
  917   Response B ody
  918   Response C ode
  919   Response H eaders
  920   ,
  921   Step 13,Ty pe baypine  where the  server is  named.
  922  
  923   ,Display s hould be s imilar to:
  924  
  925  
  926   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: d38 f9ce8-6469 -469d-9399 -d1308250a 983' -d 'V PSSN=66600 0001' 'htt ps:// IP : PORT /vistas/al l/rpcs/by- name/vps%2 0get%20all ergies/cal l' 
  927   ,
  928   Step 14,Ad d a space  at the end  of the cu rl.
  929  
  930   Type -k af ter the sp ace.
  931  
  932   Press Ente r.,Display  should be  similar t o:
  933  
  934  
  935   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: d38 f9ce8-6469 -469d-9399 -d1308250a 983' -d 'V PSSN=66600 0001' 'htt ps:// IP : PORT /vistas/al l/rpcs/by- name/vps%2 0get%20all ergies/cal l' -k
  936   ,
  937   Step 15,Op en a VM  u sing attac hment conn ection  (E DE).
  938   ,Valid cre dentials h ave been a ccepted.
  939  
  940   Note: if t he tester  is already  logged in , an addit ional logi n is not n ecessary,
  941   Step 16,Au thenticate  using val id credent ials.
  942   ,Valid cre dentials h ave been a ccepted.,
  943   Step 17,Pa ste the mo dified cur l line int o the comm and line p rompt .
  944  
  945   Press Ente r.
  946  
  947   ,A respons e is displ ayed.,
  948   Step 18,Ve rify the f ollowing s imilar res ponse is d isplayed:
  949   response d isplays si milar to:
  950  
  951   <00: PORT /vistas/ba ypine/rpcs /by-name/v ps%20get%2 0allergies /call' -k
  952   {
  953     "error":  "Target ' baypine' i s unknown  to this fe derator.", The follow ing simila r response  is displa yed:
  954  
  955   response d isplays si milar to:
  956  
  957   <00: PORT /vistas/ba ypine/rpcs /by-name/v ps%20get%2 0allergies /call' -k
  958   {
  959     "error":  "Target ' baypine' i s unknown  to this fe derator."
  960   ,IP3,
  961   Step 19,Cl ose Comman d Line win dow.
  962   ,Command L ine window  is closed .,
  963  
  964  
  965  
  966   SHEET: TC0 05
  967  
  968   Project_ T itle:,Vist A Services  Assembler  Phase 2 ( VSA-P2)
  969   ,Tester_Na me:,Add Te st Enginee r
  970   ,
  971   Test Case  Name_Numbe r:,TC005_V istA.js Re quest Vali dation,Dat e_Executed : ,Enter D ate Execut ed
  972   ,
  973   Test_Descr iption:,Ex ecute a RE ST Call wi thout the  required I nput Param eter,Test_ Phase: ,In crement 3
  974   ,
  975   Functional _Requireme nts:, IP 3,  IP 6,  IP 3,Release/ Build Numb er:,Add Re lease/Buil d Number i nformation
  976   ,
  977   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  978   Internet E xplorer re quired.
  979   ,Environme nt Tested  In:,Add En vironment  Tested In,  i.e. Apex  Internal,  Environme nt, EDE, e tc.
  980   ,
  981   STEP_NUMBE R,ACTION,E XPECTED_RE SULTS,PASS /FAIL,REQU IREMENTS,C OMMENTS/AC TUAL_RESUL TS,
  982   Pre-requis ite specif ic for tes t,A valid  RESTified  Remote Pro cedure Cal l (RPC) id entified b y/by-name/ vps-get-al lergies/ca ll exists.
  983  
  984   Note to Te ster:/by-n ame/vps-ge t-allergie s/call can not have m ore than t hree requi red Input  Parameters
  985  
  986   The RPC id entified b y/by-name/ vps-get-al lergies/ca ll is for  a single d estination  VistA sys tem identi fied by ba ypines.
  987  
  988   Note to Te ster: For  patient re lated meth ods (i.e.  GET, DELET E, etc.) t he destina tion VistA  system is  defined b y the trea ting facil ity of the  patient.
  989  
  990   The server  the RESTi fied RPC e xists on i s identifi ed by <SER VER>.
  991  
  992   A REST Cal l is perfo rmed that  executes t he RESTifi ed RPC ide ntified by /by-name/v ps-get-all ergies/cal l.
  993  
  994   The valid  REST Call  does NOT i nclude a v alue for a t least on e of the r equired in put parame ters
  995  
  996   Note:/by-n ame/vps-ge t-allergie s/call is  the only R PC to be e xecuted by  the REST  Call.
  997  
  998   Keyword #8 ; CURL RES T Call
  999   Service ID  =/by-name /vps-get-a llergies/c all
  1000   Input Para meters = N o
  1001   Fed Routin g = Yes
  1002   ,Verify th e VSA refu ses the re quest and  returns an  error res ponse indi cating tha t the requ ired Input  Parameter s were not  present.
  1003  
  1004   Note: PORT ^PATIENT D FN not sen t is the e xpected er ror messag e text.
  1005  
  1006   Keyword #4 ; Verify R esponse
  1007   Service ID  =/by-name /vps-get-a llergies/c all
  1008   Output = B ody,99^PAT IENT DFN n ot sent
  1009  
  1010   ,
  1011  
  1012   ,
  1013   Step 1,Lau nch the AP   Definition  Browser f rom https: //
. DNS : PORT /vsa-rpc-w izard .
  1014  
  1015   ,Certifica te Error p age is dis played.
  1016  
  1017   Note: Cert ificate Er ror Notifi cation pag e may not  display de pending on  environme nt certifi cates.
  1018   ,
  1019   Step 2,If  Certificat e Error No tification  is displa yed:
  1020   Select  "C ontinue to  this webs ite (not r ecommended )." 
  1021  
  1022   If Certifi cate Error  Notificat ion is not  displayed :
  1023   Verify the  VSA Serve r page is  displayed.
  1024   ,VSA Serve r page is  displayed.
  1025   ,
  1026   Step 3,Scr oll to the  bottom an d locate A pplication  Name: API  Definitio n Browser.
  1027  
  1028   Click Laun ch Applica tion.
  1029   ,Authoriza tion agree ment windo w is displ ayed.,
  1030   Step 4,Cli ck Proceed .
  1031   ,VistA.js  Federated  REST Servi ces API Br owser vx.x .x  page i s displaye d.
  1032   ,
  1033   Step 5,Sel ect Availa ble Server s.
  1034   (Please se lect a ser ver from t he list di splays an  arrow poin ting to th e Servers  link.),A d ropdown me nu is disp layed list ing the fo llowing:
  1035  
  1036   baypines
  1037   haley
  1038   westpalm
  1039  
  1040   Note: List ing of ser vers may d iffer depe nding on e nvironment  accessed.
  1041   ,
  1042   Step 6,Sel ect baypin es from th e dropdown  menu.,Log in to bayp ines acces s window i s displaye d.
  1043   ,
  1044   Step 7,Ent er an Acce ss Code <A C> for the  VistA ins tance.
  1045  
  1046   Enter a Ve rify Code  <VC> for t he VistA i nstance.
  1047  
  1048   Click Conn ect.,User  is logged  in success fully.
  1049  
  1050   baypines i s the sele cted serve r.
  1051  
  1052   Username i s displaye d in the t op right c orner of t he web pag e.
  1053  
  1054   Log out bu tton is av ailable.
  1055  
  1056   ,
  1057   Step 8,Sel ect the Av ailable Se rvices lin k.
  1058   ,A dropdow n menu is  displayed  listing th e followin g:
  1059  
  1060   sessions
  1061   veterans
  1062   session
  1063   iam
  1064   server
  1065   patients
  1066   rpcs
  1067   ,
  1068   Step 9,Sel ect rpc.,V istA.js RP C REST Ser vice page  is display ed.
  1069  
  1070   Services l isted:
  1071  
  1072   Restify
  1073   RPCS
  1074   Service
  1075   ,
  1076   Step 10,Se lect RPCS. ,VistA.js  RPC REST S ervice pag e is displ ayed.
  1077  
  1078   List of RP CS Get and  Post oper ations is  displayed.
  1079   ,
  1080   Step 11,Sc roll throu gh and sel ect POST / by-name/vp s get alle rgies/call  link.
  1081   ,Operation  window is  expanded.
  1082   ,
  1083   Step 12,In  the VPSDF N Paramete r field, t ype 236
  1084  
  1085   Click Try  it out!
  1086   ,Note: A s ecurity al ert may di splay depe nding on t he environ ment you a re accessi ng. Click  Yes to pro ceed.
  1087  
  1088   API Browse r displays  a post re sponse :
  1089  
  1090   Curl
  1091   Request UR L
  1092   Response B ody
  1093   Response C ode
  1094   Response H eaders
  1095   ,
  1096   Step 13,Re move the p atient dfn .,Display  should be  similar to :
  1097  
  1098   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: 1a0 47a08-33fc -44ce-822a -5911bb766 266' -d 'V PSDFN=' 'h ttps:// IP : PORT /vistas/ba ypines/rpc s/by-name/ vps%20get% 20allergie s/call'
  1099   ,IP3,
  1100   Step 14,Ad d a space  at the end  of the cu rl.
  1101  
  1102   Type -k af ter the sp ace.
  1103  
  1104   Press Ente r.,Display  should be  similar t o:
  1105  
  1106   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: 1a0 47a08-33fc -44ce-822a -5911bb766 266' -d 'V PSDFN=' 'h ttps:// IP : PORT /vistas/al l/rpcs/by- name/vps%2 0get%20all ergies/cal l' -k,
  1107   Step 15,Op en a VM  u sing attac hment  con nection  ( EDE).
  1108   ,Valid cre dentials h ave been a ccepted.
  1109  
  1110   Note: if t he tester  is already  logged in , an addit ional logi n is not n ecessary,
  1111   Step 16,Au thenticate  using val id credent ials.
  1112   ,Valid cre dentials h ave been a ccepted.,
  1113   Step 17,Pa ste the mo dified cur l line int o the comm and line p rompt .
  1114  
  1115   Press Ente r.
  1116  
  1117   ,A respons e is displ ayed., IP 6,
  1118   Step 18,Ve rify the f ollowing s imilar res ponse is d isplayed:
  1119  
  1120   <8083/vist as/baypine s/rpcs/by- name/vps%2 0get%20all ergies/cal l' -k
  1121   {
  1122     "data":  {
  1123       "0": " 99^PATIENT  DFN not s ent"
  1124     },The fo llowing si milar resp onse is di splayed:
  1125  
  1126   <8083/vist as/baypine s/rpcs/by- name/vps%2 0get%20all ergies/cal l' -k
  1127   {
  1128     "data":  {
  1129       "0": " 99^PATIENT  DFN not s ent"
  1130     }
  1131   ,IP3,
  1132   Step 19,Cl ose the co mmand line  window.
  1133   ,Command L ine window  is closed .,
  1134  
  1135  
  1136  
  1137   SHEET: Dat aSheet
  1138   TC1,TC2,TC 3,TC4,TC5,
  1139   RPC,/by-na me/vps-get -sites/cal l,/by-name /vps-get-s ites/call, /by-name/v ps-get-sit es/call,/b y-name/vps -get-aller gies/call, /by-name/v ps-get-all ergies/cal l,
  1140   NAME,VPSSN ,VPSSN,
  1141   VALUE,6668 92222,6660 00001,
  1142   NAME_1,
  1143   VALUE_1,
  1144   NAME_2,
  1145   VALUE_2,
  1146   DEST,baypi nes,baypin es,haley,b aypine,bay pines,
  1147   SERVER,bay pines,bayp ines,baypi nes,baypin es,baypine s,
  1148   APP,IP,
  1149   OUTPUT,"1" : "672^SAN  JUAN VAMC ^3040101^^ VAMC",
  1150   OUTPUT_1," 2": "516^B AY PINES V AMC^301010 1^^VAMC",
  1151   OUTPUT_2,3 : "673^TAM PA (JAH VA H)^3020101 ^^VAMC",Un known Vist A target,
  1152   ERR_6, "4" : "548^WES T PALM BEA CH VAMC^30 30101^^VAM C,99^PATIE NT DFN not  sent,
  1153   ERR_4,
  1154   ERR,error:  "RPC REST  definitio n not foun d for,
  1155   ERR_1,coul dn't conne ct to host ,
  1156  
  1157  
  1158   SHEET: App roval Sign atures
  1159   Approval S ignatures      ,
  1160   REVIEW DAT E: ,
  1161   SCRIBE: Te st Enginee r,
  1162  
  1163   Signed:,
  1164  
  1165  
  1166   Steven Ost er, Integr ated Proje ct Team (I PT) Chair, Date,
  1167  
  1168  
  1169  
  1170   Mike Davis , Business  Sponsor , Date,
  1171  
  1172  
  1173  
  1174   Russell Ho lt, IT Pro gram Manag er,Date,
  1175  
  1176  
  1177  
  1178   Lori Warre n, Project  Manager,D ate,
  1179  
  1180  
  1181  
  1182  
  1183  
  1184  
  1185  
  1186  
  1187  
  1188  
  1189  
  1190  
  1191  
  1192  
  1193  
  1194  
  1195  
  1196  
  1197  
  1198  
  1199  
  1200  
  1201  
  1202  
  1203  
  1204  
  1205  
  1206  
  1207  
  1208  
  1209  
  1210  
  1211  
  1212  
  1213  
  1214  
  1215  
  1216  
  1217  
  1218  
  1219  
  1220  
  1221  
  1222  
  1223  
  1224  
  1225  
  1226  
  1227  
  1228  
  1229  
  1230  
  1231  
  1232  
  1233  
  1234  
  1235  
  1236  
  1237  
  1238  
  1239  
  1240  
  1241  
  1242  
  1243  
  1244  
  1245  
  1246  
  1247  
  1248  
  1249  
  1250  
  1251  
  1252  
  1253  
  1254  
  1255  
  1256  
  1257  
  1258  
  1259  
  1260  
  1261  
  1262  
  1263  
  1264  
  1265  
  1266  
  1267  
  1268  
  1269  
  1270  
  1271  
  1272  
  1273  
  1274  
  1275  
  1276  
  1277  
  1278  
  1279  
  1280  
  1281  
  1282  
  1283  
  1284  
  1285  
  1286  
  1287  
  1288  
  1289  
  1290  
  1291  
  1292  
  1293  
  1294  
  1295  
  1296  
  1297  
  1298  
  1299