904. EPMO Open Source Coordination Office Redaction File Detail Report

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

904.1 Files compared

# Location File Last Modified
1 VSA P2.5 v3.0.12.zip CLIN_0002BA_RequestValidation_TestSet_VistAjs.xlsx Fri Feb 10 15:55:14 2017 UTC
2 VSA P2.5 v3.0.12.zip CLIN_0002BA_RequestValidation_TestSet_VistAjs.xlsx Fri Feb 17 05:05:43 2017 UTC

904.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 48 2530
Changed 47 190
Inserted 0 0
Removed 0 0

904.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

904.4 Active regular expressions

No regular expressions were active.

904.5 Comparison detail

  1   SHEET: VSA -P2.5 Cove r
  2   VistA Serv ices Assem bler Phase  2.5 (VSA- P2.5),
  3   Increment  4,
  4  
  5   VistA.js R equest Val idation Te st Scripts
,
       
  6  
  7  
  8  
  9   October 20 16,
  10   Version: 1 .1,
  11  
  12   Department  of Vetera ns Affairs  (VA),
  13  
  14  
  15  
  16  
  17  
  18   SHEET: Rev ision Hist ory
  19  
  20   Revision H istory,
  21   Date,Versi on,Descrip tion,Autho r,
  22   10/11/16,1 .1,Update  test steps ,Apex Data  Solutions ,
  23   08/09/16,1 .0,Increme nt 3 Final  Version,A pex Data S olutions,
  24   08/05/16,0 .4,Changed  EDE Envir onment ste ps,Apex Da ta Solutio ns,
  25   07/13/16,0 .3,Changed  font to A rial 11 an d added re quirements  to test s teps.
  26   Added TC00 6 ,Apex Da ta Solutio ns,
  27   07/05/16,0 .2,Updated  Template, Apex Data  Solutions,
  28   06/08/16,0 .1,Initial  Version,A pex Data S olutions,
  29  
  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.5  (VSA-P2.5)
  37   ,Tester Na me: ,Enter  Test Engi neer,
  38   Test Phase :,Incremen t 4
  39   ,Date Exec uted: ,Ent er Date,
  40   Release/Bu ild Number :,v3.0.10
  41   ,
  42   Environmen t Tested:, VA EDE Env ironment
  43   ,
  44   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  45   Internet E xplorer re quired.
  46   ,
  47   Category:, VistA.js R equest Val idation Te st Scripts
  48   ,
  49   Test Objec tive: ,Tes t Request  Validation  functiona lity.
  50   ,
  51  
  52   Requiremen ts,Require ments Defi nitions,Te st Results ,Comments,
  53   IP ,The syste m shall di splay the  URL of the  service t o be teste d.
  54   ,
  55   IP ,The syste m shall pr ovide the  user with  the abilit y to test  and execut e a deploy ed Web ser vice.,
  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   ,
  61   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.,
  62   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”) .,
  63   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.,
  64   IP 3, IP 3 Refuse a  request i f required  informati on not pre sent in a  service re quest,
  65   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.,
  66   IP 6,VSA shal l return V istA error  informati on when ex ceptions o ccur in th at environ ment.,
  67  
  68  
  69  
  70   SHEET: TC0 01
  71  
  72   Project_ T itle:,Vist A Services  Assembler  Phase 2.5  (VSA-P2.5 )
  73   ,Tester_Na me:,Enter  Test Engin eer,
  74   Test Case  Name_Numbe r:,TC001_V istA.js Re quest Vali dation,Dat e_Executed : ,Enter D ate,
  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  4
  76   ,
  77   Requiremen ts:, IP IP IP 0,  IP 2,Release/ Build Numb er:,v3.0.1 0
  78   ,
  79   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  80   Internet E xplorer re quired.
  81   ,Environme nt Tested  In:,VA EDE  Environme nt
  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…,VPS GE T SITES ha s been res tified.
  85  
  86   ,n/a,n/a,
  87   Step 1,Acc ess the VS A Server.
  88  
  89   Scroll to  the bottom  and locat e Applicat ion Name:  API Defini tion Brows er.
  90  
  91   Click Laun ch Applica tion.
  92  
  93   ,Authoriza tion agree ment windo w is displ ayed.,
  94   Step 2,Cli ck Proceed .
  95   ,VistA.js  Federated  REST Servi ces API Br owser vx.x .x  page i s displaye d.
  96   ,
  97   Step 3,Sel ect Availa ble Server s.
  98   (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:
  99  
  100   baypines
  101   haley
  102   sanjuan
  103   westpalm
  104  
  105   Note: List ing of ser vers may d iffer depe nding on e nvironment  accessed.
  106   ,
  107   Step 4,Sel ect baypin es from th e dropdown  menu.,Log in to bayp ines acces s window i s displaye d.
  108   ,
  109   Step 5,Ent er an Acce ss Code <A C> for the  VistA ins tance.
  110  
  111   Enter a Ve rify Code  <VC> for t he VistA i nstance.
  112  
  113   Click Conn ect.,User  is logged  in success fully.
  114  
  115   baypines i s the sele cted serve r.
  116  
  117   User's nam e  is disp layed in t he top rig ht corner  of the web  page.
  118  
  119   Log out bu tton is av ailable.
  120  
  121  
  122  
  123   ,
  124   Step 6,Sel ect the Av ailable Se rvices lin k.
  125   ,A dropdow n menu is  displayed  listing th e followin g:
  126  
  127   sync
  128   veterans
  129   session
  130   server
  131   patients
  132   rpcs
  133   ,
  134   Step 7,Sel ect rpcs., VistA.js R PC REST Se rvice page  is displa yed.
  135  
  136   Services l isted:
  137  
  138   Restify
  139   RPCS
  140   Service
  141   ,
  142   Step 8,Sel ect RPCS., VistA.js R PC REST Se rvice page  is displa yed.
  143  
  144   List of RP CS Get and  Post oper ations is  displayed.
  145   ,
  146   Step 9,Scr oll throug h and sele ct POST /b y-name/vps  get sites /call link .
  147   ,Operation  window is  expanded.
  148   ,
  149   Step 10,In  the VPSSN  Parameter  field, ty pe 6668922 22.
  150  
  151   Click Try  it out!
  152   ,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.
  153  
  154   API Browse r displays  a post re sponse :
  155  
  156   Curl
  157   Request UR L
  158   Response B ody
  159   Response C ode
  160   Response H eaders
  161   ,IP
  162   IP,
  163   Step 11,Se lect the C url respon se:
  164  
  165   Click in f ront of th e curl (in  the respo nse body)
  166   scrolling  to the rig ht,
  167   press and  hold the s hift key 
  168   and then c lick at th e end on t he curl re sponse.
  169  
  170   Copy the s elected Cu rl line. ( Rt-click C opy or ctr l+c)
  171   ,The entir e Curl lin e is selec ted and co pied., IP 2,
  172   Step 12,Op en Notepad .
  173  
  174   Paste the  curl line  into Notep ad.
  175   (Rt-click  Paste or c trl+v)
  176   ,Curl line  is displa yed in a n otepad and  is editab le.,
  177   Step 13,Ad d a space  at the end  of the cu rl.
  178  
  179   Type -k af ter the sp ace.
  180  
  181   ,Display s hould be s imilar to:
  182  
  183   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
  184  
  185   ,
  186   Step 14,Op en a VM  u sing attac hmate conn ection  (E DE).
  187   ,A command  prompt wi ndow opens .,
  188   Step 15,Au thenticate  using val id credent ials.
  189   ,Valid cre dentials h ave been a ccepted.
  190  
  191   Note: if t he tester  is already  logged in  an additi onal login  is not ne cessary
  192   ,
  193   Step 16,Pa ste the mo dified cur l line int o the comm and line p rompt .
  194  
  195   Press Ente r.
  196  
  197   ,A respons e is displ ayed.,
  198   Step 17,Ve rify the f ollowing s imilar res ponse is d isplayed:
  199  
  200   {
  201     "data":  {
  202       "1": " 672^SAN JU AN VAMC^30 40101^^VAM C",
  203       "2": " 516^BAY PI NES VAMC^3 010101^^VA MC",
  204       "3": " 673^TAMPA  (JAH VAH)^ 3020101^^V AMC",
  205       "4": " 548^WEST P ALM BEACH  VAMC^30301 01^^VAMC"
  206     },
  207     "statusC ode": 200
  208   }
  209   ,The follo wing simil ar respons e is displ ayed:
  210  
  211   {
  212     "data":  {
  213       "1": " 672^SAN JU AN VAMC^30 40101^^VAM C",
  214       "2": " 516^BAY PI NES VAMC^3 010101^^VA MC",
  215       "3": " 673^TAMPA  (JAH VAH)^ 3020101^^V AMC",
  216       "4": " 548^WEST P ALM BEACH  VAMC^30301 01^^VAMC"
  217     },
  218     "statusC ode": 200
  219   }
  220   ,IP0,
  221   Step 18,Le ave Comman d Line win dow open f or additio nal tests.
  222   ,Command L ine window  remains o pen.,
  223  
  224  
  225  
  226   SHEET: TC0 02
  227  
  228   Project_ T itle:,Vist A Services  Assembler  Phase 2.5  (VSA-P2.5 )
  229   ,Tester_Na me:,Enter  Test Engin eer,
  230   Test Case  Name_Numbe r:,TC002_V istA.js Re quest Vali dation,Dat e_Executed : ,Enter D ate,
  231   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 4
  232   ,
  233   Requiremen ts:, IP 6,Release/ Build Numb er:,v3.0.1 0
  234   ,
  235   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  236   Internet E xplorer re quired.
  237   ,Environme nt Tested  In:,VA EDE  Environme nt
  238   ,
  239   STEP_NUMBE R,ACTION,E XPECTED_RE SULTS,PASS /FAIL,REQU IREMENTS,C OMMENTS,
  240   Pre-requis ite specif ic for tes t,User has  already a ccessed th e API brow ser and is  logged in to the bay pines serv er.
  241  
  242   ,n/a,
  243   Step 1,Acc ess the AP I browser.
  244  
  245   Select the  Available  Services  link.
  246   ,A dropdow n menu is  displayed  listing th e followin g:
  247  
  248   sync
  249   veterans
  250   session
  251   server
  252   patients
  253   rpcs
  254   ,
  255   Step 2,Sel ect rpcs.
  256  
  257   Select RPC S.
  258   ,VistA.js  RPC REST S ervice pag e is displ ayed.
  259  
  260   List of RP CS Get and  Post oper ations is  displayed.
  261   ,
  262   Step 3,Scr oll throug h and sele ct POST /b y-name/vps  get sites /call link .
  263  
  264   ,Operation  window is  expanded.
  265   ,
  266   Step 4,In  the VPSSN  Parameter  field, typ e 66600002 8
  267  
  268   Click Try  it out!
  269   ,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.
  270  
  271   API Browse r displays  a post re sponse :
  272  
  273   Curl
  274   Request UR L
  275   Response B ody
  276   Response C ode
  277   Response H eaders
  278   ,
  279   Step 5,Sel ect the Cu rl respons e:
  280  
  281   Click in f ront of th e curl (in  the respo nse body)
  282   scrolling  to the rig ht,
  283   press and  hold the s hift key 
  284   and then c lick at th e end on t he curl re sponse.
  285  
  286   Copy the s elected Cu rl line. ( Rt-click C opy or ctr l+c)
  287   ,The entir e Curl lin e is selec ted and co pied.,
  288   Step 6,Ope n Notepad.
  289  
  290   Paste the  curl line  into Notep ad.
  291   (Rt-click  Paste or c trl+v)
  292   ,Curl line  is displa yed in a n otepad and  is editab le.,
  293   Step 7,Rep lace the n ame of the  server us ing your o wn name.
  294  
  295   Add a spac e at the e nd of the  curl.
  296  
  297   Type -k af ter the sp ace.
  298   ,Display s hould be s imilar to:
  299  
  300   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: a9f 7c761-59da -436d-bb20 -7ba532be9 45d' -d 'V PSSN=66600 0028' 'htt ps:// IP : PORT /vistas/my name/rpcs/ by-name/vp s%20get%20 sites/call ' -k
  301   ,
  302   Step 8,Ope n a VM  us ing attach mate conne ction  (ED E).
  303   ,Valid cre dentials h ave been a ccepted.
  304  
  305   Note: if t he tester  is already  logged in , an addit ional logi n is not n ecessary
  306   ,
  307   Step 9,Aut henticate  using vali d credenti als.
  308   ,Valid cre dentials h ave been a ccepted.,
  309   Step 10,Pa ste the mo dified cur l line int o the comm and line p rompt .
  310  
  311   Press Ente r.
  312  
  313   ,A respons e is displ ayed.,
  314   Step 11,Ve rify the f ollowing s imilar res ponse is d isplayed:
  315  
  316   {
  317     "error":  "Target ' myname' is  unknown t o this fed erator."
  318   },The foll owing simi lar respon se is disp layed:
  319  
  320   {
  321     "error":  "Target ' myname' is  unknown t o this fed erator."
  322   }
  323   ,IP6,
  324   Step 12,Le ave Comman d Line win dow open f or additio nal tests.
  325   ,Command L ine window  remains o pen.,
  326  
  327  
  328  
  329   SHEET: TC0 03
  330  
  331   Project_ T itle:,Vist A Services  Assembler  Phase 2.5  (VSA-P2.5 )
  332   ,Tester_Na me:,Enter  Test Engin eer,
  333   Test Case  Name_Numbe r:,TC003_V istA.js Re quest Vali dation,Dat e_Executed : ,Enter D ate,
  334   Test_Descr iption:,Ex ecute a co nnection r efuse erro r.,Test_Ph ase: ,Incr ement 4
  335   ,
  336   R equirement s :,   IP8 ,Release/B uild Numbe r:,v3.0.10
       
  337   ,
  338   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  339   Internet E xplorer re quired.
  340   ,Environme nt Tested  In:,VA EDE  Environme nt
  341   ,
  342   STEP_NUMBE R,ACTION,E XPECTED_RE SULTS,PASS /FAIL,REQU IREMENTS,C OMMENTS,
  343   Pre-requis ite specif ic for tes t,User is  already ac cessed the  API brows er and is  logged int o the bayp ines serve r.
  344  
  345   ,n/a,n/a,
  346   Step 1,Ope n a VM  us ing attach mate conne ction  (ED E).
  347   ,A command  prompt wi ndow opens .,
  348   Step 2,Aut henticate  using vali d credenti als.
  349   ,Valid cre dentials h ave been a ccepted.
  350  
  351   Note: If a  session i s already  open, logi n will not  be necess ary
  352   ,
  353   Step 3,Typ e su - cac heusr.
  354  
  355   Enter the  password f or cacheus r.
  356  
  357   Press Ente r.
  358   ,Similar r esponse di splays:
  359  
  360   [cacheuser @ DN SVSAAPPDEV 11    "]$,
  361   Step 4,Typ e cd vjs-e nvironment /.
  362  
  363   Press Ente r.
  364   ,Similar r esponse di splays:
  365  
  366   [cacheuser @ DN SVSAAPPDEV 11    vjs-enviro nment]$,
  367   Step 5,Typ e source . /use_node. js.
  368  
  369   Press Ente r.
  370  
  371   Type cd /s rv/vista/v sa/user/
  372  
  373   Press Ente r.
  374   ,Similar r esponse di splays:
  375  
  376   [cacheuser @ DN SVSAAPPDEV 11 user]$,
  377   Step 6,Typ e ll. (low er case L' s)
  378  
  379   Press Ente r.
  380   ,Similar r esponse di splays:
  381  
  382   total 16
  383   drwxr-x--- . 2 cacheu sr cacheus r 4096 Oct     4 08: PORT  certs
  384   drwxr-x--- . 8 cacheu sr cacheus r 4096 Oct  17 13: PORT  vistajs_3 0104
  385   drwxr-x--- . 9 cacheu sr cacheus r 4096 Oct  17 13: PORT  vistajs_3 081
  386   drwxr-x--- . 8 cacheu sr cacheus r 4096 Aug  18 13: PORT  vistajs-3 092
  387   [cacheusr@ DN SVSAAPPDEV 11 user]$
  388   ,
  389   Step 7,Typ e cd vista js_30104
  390  
  391   (note:  ac cess the b uild you a re wanting )
  392  
  393   Type Enter .
  394   ,Response  (similar)  displays:
  395  
  396   total 52
  397   drwxr-x--- . 13 cache usr cacheu sr 4096 Oc t 17 09: PORT  baypines
  398   -rw-r-----   1 cacheusr  cacheusr  1753 Oct 1 4 07: PORT  baypines- config.js
  399   -rw-r-----   1 cacheusr  cacheusr  1758 Oct 1 4 08: PORT  federator -config.js
  400   drwxr-x--- . 13 cache usr cacheu sr 4096 Oc t 14 08: PORT  haley
  401   -rw-r-----   1 cacheusr  cacheusr  1747 Oct 1 4 08: PORT  haley-con fig.js
  402   drwxr-x--- . 13 cache usr cacheu sr 4096 Oc t 14 08: PORT  sanjuan
  403   -rw-r-----   1 cacheusr  cacheusr  1751 Oct 1 4 08: PORT  sanjuan-c onfig.js
  404   drwxr-x--- . 13 cache usr cacheu sr 4096 Oc t 17 09: PORT  vjs-feder ator
  405   -rw-r-----   1 cacheusr  cacheusr  2929 Oct 1 4 07: PORT  vjs-vista -router.js
  406   -rw-r-----   1 cacheusr  cacheusr  1701 Oct 1 4 08: PORT  web-confi g.js
  407   drwxr-x--- . 13 cache usr cacheu sr 4096 Oc t 17 09: PORT  webux
  408   drwxr-x--- . 13 cache usr cacheu sr 4096 Oc t 14 08: PORT  westpalm
  409   -rw-r-----   1 cacheusr  cacheusr  1753 Oct 1 4 08: PORT  westpalm- config.js
  410   [cacheusr@ DN SVSAAPPDEV 11 vistajs _30104]$ 
  411   ,
  412   Step 8,Typ e netstat  -plnt | gr ep node.
  413  
  414   Press Ente r.
  415   ,Similar r esponse di splays:
  416  
  417   (Not all p rocesses c ould be id entified,  non-owned  process in fo
  418    will not  be shown,  you would  have to be  root to s ee it all. )
  419   tcp                IP : PORT                    IP :*                      LISTEN        2046/node            
  420   tcp                IP : PORT                    IP :*                      LISTEN        13139/node            
  421   tcp                IP : PORT                    IP :*                      LISTEN        28488/node            
  422   tcp                IP : PORT                    IP :*                      LISTEN        29658/node            
  423   tcp                IP : PORT                    IP :*                      LISTEN        1742/node            
  424   tcp                IP : PORT                    IP :*                      LISTEN        1584/node            
  425   tcp                IP : PORT                    IP :*                      LISTEN        20639/node            
  426   [cacheusr@ DN SVSAAPPDEV 11 vistajs _30104]$ 
  427   ,
  428   Step 9,Not e the node  that you  want to st op:
  429   (Note:    the server  that shou ld be stop ped is hal ey - : PORT )
  430  
  431   Type kill  13139.
  432  
  433   Type Enter .
  434  
  435   Type netst at -plnt |  grep node .
  436  
  437   Press Ente r.
  438  
  439   Verify the  selected  node is no  longer li sted.
  440   ,Similar r esponse di splays:
  441  
  442   (Not all p rocesses c ould be id entified,  non-owned  process in fo
  443    will not  be shown,  you would  have to be  root to s ee it all. )
  444   tcp                IP : PORT                    IP :*                      LISTEN        2046/node            
  445   tcp                IP : PORT                    IP :*                      LISTEN        28488/node            
  446   tcp                IP : PORT                    IP :*                      LISTEN        29658/node            
  447   tcp                IP : PORT                    IP :*                      LISTEN        1742/node            
  448   tcp                IP : PORT                    IP :*                      LISTEN        1584/node            
  449   tcp                IP : PORT                    IP :*                      LISTEN        20639/node            
  450   [cacheusr@ DN SVSAAPPDEV 11 vistajs _30104]$ ,
  451  
  452   Step 10,Ac cess the A PI browser .
  453  
  454   Select the  Available  Services  link.
  455  
  456   Note: If u ser is no  longer log ged into t he API Bro wser, log  into and a ccess the  baypines s erver.
  457   ,A dropdow n menu is  displayed  listing th e followin g:
  458  
  459   sync
  460   veterans
  461   session
  462   server
  463   patients
  464   rpcs
  465   ,
  466   Step 11,Se lect rpcs.
  467  
  468   Select RPC S.
  469   ,VistA.js  RPC REST S ervice pag e is displ ayed.
  470  
  471   List of RP CS Get and  Post oper ations is  displayed.
  472   ,
  473   Step 12,Sc roll throu gh and sel ect POST / by-name/vp s get site s/call lin k.
  474  
  475   ,Operation  window is  expanded.
  476   ,
  477   Step 13,In  the VPSSN  Parameter  field, ty pe 6668922 22
  478  
  479   Click Try  it out!
  480   ,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.
  481  
  482   API Browse r displays  a post re sponse :
  483  
  484   Curl
  485   Request UR L
  486   Response B ody
  487   Response C ode
  488   Response H eaders
  489   ,
  490   Step 14,Se lect the C url respon se:
  491  
  492   Click in f ront of th e curl (in  the respo nse body)
  493   scrolling  to the rig ht,
  494   press and  hold the s hift key 
  495   and then c lick at th e end on t he curl re sponse.
  496  
  497   Copy the s elected Cu rl line. ( Rt-click C opy or ctr l+c)
  498   ,The entir e Curl lin e is selec ted and co pied.,
  499   Step 15,Op en Notepad .
  500  
  501   Paste the  curl line  into Notep ad.
  502   (Rt-click  Paste or c trl+v)
  503   ,Curl line  is displa yed in a n otepad and  is editab le.,
  504   Step 16,Re place bayp ines with  all.
  505  
  506   Add a spac e at the e nd of the  curl.
  507  
  508   Type -k af ter the sp ace.
  509  
  510   Press Ente r.,Display  should be  similar t o:
  511  
  512   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept
  513    applicati on/json' - -header 'V JS-SESSION -TOKEN: 47 3c600d-b57 4-4039-bbe c-69197a39 d296' -d ' VPSSN=6668 92222' 'ht tps:// DN SVSAAPPDEV 11
  514   .aac. DNS : PORT /vistas/al l/rpcs/by- name/vps%2 0get%20sit es/call' - k
  515   ,
  516   Step 17,Op en a VM  u sing attac hmate conn ection  (E DE).
  517   ,A command  prompt wi ndow opens .,
  518   Step 18,Au thenticate  using val id credent ials.
  519   ,Valid cre dentials h ave been a ccepted.
  520  
  521   Note: if t he tester  is already  logged in  an additi onal login  is not ne cessary
  522   ,
  523   Step 19,Pa ste the mo dified cur l line int o the comm and line p rompt .
  524  
  525   Press Ente r.
  526   ,A respons e is displ ayed.,
  527   Step 20,Ve rify the f ollowing s imilar res ponse is d isplayed:
  528  
  529   {
  530     "haley":  {
  531       "code" : "ECONNRE FUSED",
  532       "error ": "Connec tion Refus ed"
  533     },
  534     "westpal m": {
  535       "error ": "Sessio n is no lo nger valid . Please l og in agai n.",
  536       "statu sCode": 40 0
  537     },
  538     "sanjuan ": {
  539       "error ": "Sessio n is no lo nger valid . Please l og in agai n.",
  540       "statu sCode": 40 0
  541     },
  542     "baypine s": {
  543       "data" : {
  544         "1":  "672^SAN  JUAN VAMC^ 3040101^^V AMC",
  545         "2":  "516^BAY  PINES VAMC ^3010101^^ VAMC",
  546         "3":  "673^TAMP A (JAH VAH )^3020101^ ^VAMC",
  547         "4":  "548^WEST  PALM BEAC H VAMC^303 0101^^VAMC "
  548       },
  549       "statu sCode": 20 0
  550     }
  551   }[cacheusr @ DN SVSAAPPDEV 11 vistajs _30104]$ 
  552  
  553   ,The follo wing simil ar respons e is displ ayed:
  554  
  555   {
  556     "haley":  {
  557       "code" : "ECONNRE FUSED",
  558       "error ": "Connec tion Refus ed"
  559     },
  560     "westpal m": {
  561       "error ": "Sessio n is no lo nger valid . Please l og in agai n.",
  562       "statu sCode": 40 0
  563     },
  564     "sanjuan ": {
  565       "error ": "Sessio n is no lo nger valid . Please l og in agai n.",
  566       "statu sCode": 40 0
  567     },
  568     "baypine s": {
  569       "data" : {
  570         "1":  "672^SAN  JUAN VAMC^ 3040101^^V AMC",
  571         "2":  "516^BAY  PINES VAMC ^3010101^^ VAMC",
  572         "3":  "673^TAMP A (JAH VAH )^3020101^ ^VAMC",
  573         "4":  "548^WEST  PALM BEAC H VAMC^303 0101^^VAMC "
  574       },
  575       "statu sCode": 20 0
  576     }
  577   }[cacheusr @ DN SVSAAPPDEV 11 vistajs _30104]$ 
  578   ,IP3
  579   IP8,
  580   Step 21,Le ave Comman d Line win dow open f or additio nal tests. ,Command L ine window  remains o pen.
  581   ,
  582   Step 22,No te:  haley  needs to  be restart ed:
  583  
  584   cd haley
  585   nohup ca-a pm-run nod e_modules/ vsa-server /bin/vsa-s erver star t &
  586  
  587   To verify  haley has  restarted.
  588   netstat -p lnt | grep  node
  589  
  590   ,Command L ine window  remains o pen.,
  591  
  592  
  593  
  594   SHEET: TC0 04
  595  
  596   Project_ T itle:,Vist A Services  Assembler  Phase 2.5  (VSA-P2.5 )
  597   ,Tester_Na me:,Enter  Test Engin eer,
  598   Test Case  Name_Numbe r:,TC004_V istA.js Re quest Vali dation,Dat e_Executed : ,Enter D ate,
  599   Test_Descr iption:,Ex ecute a RE ST Call wi th no fede rated rout ing,Test_P hase: ,Inc rement 4
  600   ,
  601   Requiremen ts:, IP 3,Release/ Build Numb er:,v3.0.1 0
  602   ,
  603   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  604   Internet E xplorer re quired.
  605   ,Environme nt Tested  In:,VA EDE  Environme nt
  606   ,
  607   STEP_NUMBE R,ACTION,E XPECTED_RE SULTS,PASS /FAIL,REQU IREMENTS,C OMMENTS,
  608   Pre-requis ite specif ic for tes t,User is  already ac cessed the  API brows er and is  logged int o the bayp ines serve r.
  609  
  610   VPS GET AL LERGIES ha s been res tified.
  611  
  612   ,n/a,n/a,
  613  
  614   ,
  615   Step 1,Acc ess the AP I browser.
  616  
  617   Select the  Available  Services  link.
  618   ,A dropdow n menu is  displayed  listing th e followin g:
  619  
  620   sync
  621   veterans
  622   session
  623   server
  624   patients
  625   rpcs
  626   ,
  627   Step 2,Sel ect rpcs.
  628  
  629   Select RPC S.
  630   ,VistA.js  RPC REST S ervice pag e is displ ayed.
  631  
  632   List of RP CS Get and  Post oper ations is  displayed.
  633   ,
  634   Step 3,Scr oll throug h and sele ct POST /b y-name/vps  get aller gies/call  link.
  635   ,Operation  window is  expanded.
  636   ,
  637   Step 4,In  the VPSDFN  Parameter  field, ty pe 236.
  638  
  639   Click Try  it out!
  640   ,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.
  641  
  642   API Browse r displays  a post re sponse :
  643  
  644   Curl
  645   Request UR L
  646   Response B ody
  647   Response C ode
  648   Response H eaders
  649   ,
  650   Step 5,Sel ect the Cu rl respons e:
  651  
  652   Click in f ront of th e curl (in  the respo nse body)
  653   scrolling  to the rig ht,
  654   press and  hold the s hift key 
  655   and then c lick at th e end on t he curl re sponse.
  656  
  657   Copy the s elected Cu rl line. ( Rt-click C opy or ctr l+c)
  658   ,The entir e Curl lin e is selec ted and co pied.,
  659   Step 6,Ope n Notepad.
  660  
  661   Paste the  curl line  into Notep ad.
  662   (Rt-click  Paste or c trl+v)
  663   ,Curl line  is displa yed in a n otepad and  is editab le.,
  664   Step 7,Typ e other wh ere the se rver is na med.
  665  
  666   Add a spac e at the e nd of the  curl.
  667  
  668   Type -k af ter the sp ace.
  669   ,Display s hould be s imilar to:
  670  
  671   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: ae5 503a4-5371 -4286-b60b -49e8c01d8 23d' -d 'V PSDFN=236'  'https:// IP : PORT /vistas/ot her/rpcs/b y-name/vps %20get%20a llergies/c all' -k
  672   ,
  673   Step 8,Ope n a VM  us ing attach mate conne ction  (ED E).
  674   ,Valid cre dentials h ave been a ccepted.
  675  
  676   Note: if t he tester  is already  logged in , an addit ional logi n is not n ecessary,
  677   Step 9,Aut henticate  using vali d credenti als.
  678   ,Valid cre dentials h ave been a ccepted.,
  679   Step 10,Pa ste the mo dified cur l line int o the comm and line p rompt .
  680  
  681   Press Ente r.
  682  
  683   ,A respons e is displ ayed.,
  684   Step 11,Ve rify the f ollowing s imilar res ponse is d isplayed:
  685   response d isplays si milar to:
  686  
  687   {
  688     "error":  "Target ' other' is  unknown to  this fede rator."
  689   },The foll owing simi lar respon se is disp layed:
  690  
  691   {
  692     "error":  "Target ' other' is  unknown to  this fede rator."
  693   }
  694   ,IP3,
  695   Step 12,Le ave Comman d Line win dow open f or additio nal tests.
  696   ,Command L ine window  remains o pen.,
  697  
  698  
  699  
  700   SHEET: TC0 05
  701  
  702   Project_ T itle:,Vist A Services  Assembler  Phase 2.5  (VSA-P2.5 )
  703   ,Tester_Na me:,Enter  Test Engin eer,
  704   Test Case  Name_Numbe r:,TC005_V istA.js Re quest Vali dation,Dat e_Executed : ,Enter D ate,
  705   Test_Descr iption:,Ex ecute a RE ST Call wi thout the  required I nput Param eter,Test_ Phase: ,In crement 4
  706   ,
  707   Functional _Requireme nts:, IP 6,Release/ Build Numb er:,v3.0.1 0
  708   ,
  709   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  710   Internet E xplorer re quired.
  711   ,Environme nt Tested  In:,VA EDE  Environme nt
  712   ,
  713   STEP_NUMBE R,ACTION,E XPECTED_RE SULTS,PASS /FAIL,REQU IREMENTS,C OMMENTS,
  714   Pre-requis ite specif ic for tes t,User is  already ac cessed the  API brows er and is  logged int o the bayp ines serve r.
  715  
  716   VPS GET AL LERGIES ha s been res tified.
  717  
  718   ,n/a,n/a,
  719  
  720   ,
  721   Step 1,Acc ess the AP I browser.
  722  
  723   Select the  Available  Services  link.
  724   ,A dropdow n menu is  displayed  listing th e followin g:
  725  
  726   sync
  727   veterans
  728   session
  729   server
  730   patients
  731   rpcs
  732   ,
  733   Step 2,Sel ect rpcs.
  734  
  735   Select RPC S.
  736   ,VistA.js  RPC REST S ervice pag e is displ ayed.
  737  
  738   List of RP CS Get and  Post oper ations is  displayed.
  739   ,
  740   Step 3,Scr oll throug h and sele ct POST /b y-name/vps  get aller gies/call  link.
  741   ,Operation  window is  expanded.
  742   ,
  743   Step 4,In  the VPSDFN  Parameter  field, ty pe 236.
  744  
  745   Click Try  it out!
  746   ,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.
  747  
  748   API Browse r displays  a post re sponse :
  749  
  750   Curl
  751   Request UR L
  752   Response B ody
  753   Response C ode
  754   Response H eaders
  755   ,
  756   Step 5,Sel ect the Cu rl respons e:
  757  
  758   Click in f ront of th e curl (in  the respo nse body)
  759   scrolling  to the rig ht,
  760   press and  hold the s hift key 
  761   and then c lick at th e end on t he curl re sponse.
  762  
  763   Copy the s elected Cu rl line. ( Rt-click C opy or ctr l+c)
  764   ,The entir e Curl lin e is selec ted and co pied.,
  765   Step 6,Ope n Notepad.
  766  
  767   Paste the  curl line  into Notep ad.
  768   (Rt-click  Paste or c trl+v)
  769   ,Curl line  is displa yed in a n otepad and  is editab le.,
  770   Step 7,Rem ove the pa tient dfn.
  771  
  772   Add a spac e at the e nd of the  curl.
  773  
  774   Type -k af ter the sp ace.,Displ ay should  be similar  to:
  775  
  776   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'
       
       
       
       
  777   ,
  778   Step 8,Ope n a VM  us ing attach mate conne ction  (ED E).
  779   ,Valid cre dentials h ave been a ccepted.
  780  
  781   Note: if t he tester  is already  logged in , an addit ional logi n is not n ecessary,
  782   Step 9,Aut henticate  using vali d credenti als.
  783   ,Valid cre dentials h ave been a ccepted.,
  784   Step 10,Pa ste the mo dified cur l line int o the comm and line p rompt .
  785  
  786   Press Ente r.
  787  
  788   ,A respons e is displ ayed., IP 6,
  789   Step 11,Ve rify the f ollowing s imilar res ponse is d isplayed:
  790  
  791   {
  792     "data":  {
  793       "0": " 99^PATIENT  DFN not s ent"
  794     },
  795     "statusC ode": 200
  796   },The foll owing simi lar respon se is disp layed:
  797  
  798   {
  799     "data":  {
  800       "0": " 99^PATIENT  DFN not s ent"
  801     },
  802     "statusC ode": 200
  803   }
  804   ,
  805   Step 12,Le ave Comman d Line win dow open f or additio nal tests.
  806   ,Command L ine window  remains o pen.,
  807  
  808  
  809  
  810   SHEET: TC0 06
  811  
  812   Project_ T itle:,Vist A Services  Assembler  Phase 2.5  (VSA-P2.5 )
  813   ,Tester_Na me:,Enter  Test Engin eer,
  814   Test Case  Name_Numbe r:,TC006_V istA.js Re quest Vali dation,Dat e_Executed : ,Enter D ate,
  815   Test_Descr iption:,Ex ecute a RE ST Call wi th access  to all vis tas,Test_P hase: ,Inc rement 4
  816   ,
  817   Functional _Requireme nts:, IP 5,Release/ Build Numb er:,v3.0.1 0
  818   ,
  819   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  820   Internet E xplorer re quired.
  821   ,Environme nt Tested  In:,VA EDE  Environme nt
  822   ,
  823   STEP_NUMBE R,ACTION,E XPECTED_RE SULTS,PASS /FAIL,REQU IREMENTS,C OMMENTS,
  824   Pre-requis ite specif ic for tes t,User has  already a ccessed th e API brow ser and is  logged in to the bay pines serv er.
  825  
  826   ,n/a,n/a,
  827  
  828   ,
  829   Step 1,Sel ect the Av ailable Se rvices lin k.
  830  
  831   Select rpc s.
  832  
  833   Select RPC S.
  834  
  835  
  836  
  837   ,VistA.js  RPC REST S ervice pag e is displ ayed.
  838  
  839   List of RP CS Get and  Post oper ations is  displayed.
  840   ,
  841   Step 2,Sel ect GET /b y-name/{rp cName}.
  842  
  843   Enter VPS  GET into t he rpcName  Parameter  Value fie ld.
  844  
  845   Click Try  it out!
  846  
  847   ,API Brows er display s a respon se:
  848  
  849   Curl
  850   Request UR L
  851   Response B ody: 
  852   {
  853     "error":  "No match ing RPC Sw agger defi nition fou nd for: VP S GET",
  854     "statusC ode": 400
  855   }
  856   Response C ode: 400
  857   Response H eaders
  858   ,IP5,
  859   Step 3,Sel ect Sessio n in the A vailable S ervices dr opdown men u.
  860   ,Session A uthenticat ion Manage ment page  is display ed.
  861  
  862   The follow ing operat ions are l isted and  available  for select ion:
  863  
  864   default
  865   Login
  866   Session
  867   ,
  868   Step 4,Sel ect Login.
  869  
  870   Select Pos t /login/b y-av/new.
  871   ,Post /log in/by-av/n ew operati on expands .,
  872   Step 5,Ent er access  code;verif y code int o the cred entials Va lue text f ield.
  873  
  874   Note: User  the curre nt users c redentials .
  875   ,access co de;verify  code is en tered into  the Value  text fiel d.
  876   ,
  877   Step 6,Cli ck Try it  out!
  878  
  879   Note: A se curity ale rt may dis play depen ding on th e environm ent you ar e accessin g. If disp layed, cli ck Yes.,AP I Browser  displays a  response:
  880  
  881   Curl
  882   Request UR L
  883  
  884   Response B ody: Logge d in users  informati on is disp layed.
  885  
  886   Response C ode: 200
  887  
  888   Response H eaders
  889   ,IP5,
  890   Step 7,Sel ect the Cu rl respons e:
  891  
  892   Click in f ront of th e curl (in  the respo nse body)
  893   scrolling  to the rig ht,
  894   press and  hold the s hift key 
  895   and then c lick at th e end on t he curl re sponse.
  896  
  897   Copy the s elected Cu rl line. ( Rt-click C opy or ctr l+c)
  898   ,The entir e Curl lin e is selec ted and co pied.,
  899   Step 8,Ope n Notepad.
  900  
  901   Paste the  curl line  into Notep ad.
  902   (Rt-click  Paste or c trl+v)
  903  
  904   Note:  Thi s will be  used after  the next  test.
  905   ,Curl line  is displa yed in a n otepad and  is editab le.,
  906   Step 9,Usi ng an inco rrect acce ss code an d verify c ode, enter  the acess  code;veri fy code in to the cre dentials V alue text  field.
  907  
  908   Click Try  it out!
  909   ,API Brows er display s a respon se:
  910  
  911   Curl
  912   Request UR L
  913   Response B ody: 
  914   {
  915     "error":  "Invalid  Kernel log on credent ials. [Sec urity Type : Not a va lid ACCESS  CODE/VERI FY CODE pa ir.] ",
  916     "data":  {
  917       "code" : "182305" ,
  918       "error  type": "X SAPXACC -  A/V Logon" ,
  919       "fault  actor": " XSAPXACC -  A/V Logon ",
  920       "fault  string":  "Internal  Applicatio n Error"
  921     },
  922     "statusC ode": 401
  923   }
  924   Response C ode: 401
  925   Response H eaders
  926   ,IP5,
  927   Step 10,Le ave Comman d Line win dow open f or additio nal tests.
  928   ,Command L ine window  remains o pen.,
  929  
  930  
  931  
  932   SHEET: TC0 07
  933  
  934   Project_ T itle:,Vist A Services  Assembler  Phase 2.5  (VSA-P2.5 )
  935   ,Tester_Na me:,Enter  Test Engin eer,
  936   Test Case  Name_Numbe r:,TC007_V istA.js Re quest Vali dation,Dat e_Executed : ,Enter D ate,
  937   Test_Descr iption:,Ex ecute a RE ST Call wi th access  to all vis tas,Test_P hase: ,Inc rement 4
  938   ,
  939   Functional _Requireme nts:, IP 3,Release/ Build Numb er:,v3.0.1 0
  940   ,
  941   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  942   Internet E xplorer re quired.
  943   ,Environme nt Tested  In:,VA EDE  Environme nt
  944   ,
  945   STEP_NUMBE R,ACTION,E XPECTED_RE SULTS,PASS /FAIL,REQU IREMENTS,C OMMENTS,
  946   Pre-requis ite specif ic for tes t,User has  access to  all vista  servers.
  947  
  948   User is al ready acce ssed the A PI browser  and is lo gged into  the baypin es server.
  949  
  950   VPS GET AL LERGIES ha s been res tified.
  951  
  952   ,n/a,n/a,
  953  
  954   ,
  955   Step 1,Acc ess the AP I browser.
  956  
  957   Select the  Available  Services  link.
  958   ,A dropdow n menu is  displayed  listing th e followin g:
  959  
  960   sync
  961   veterans
  962   session
  963   server
  964   patients
  965   rpcs
  966   ,
  967   Step 2,Sel ect rpcs.
  968  
  969   Select RPC S.
  970   ,VistA.js  RPC REST S ervice pag e is displ ayed.
  971  
  972   List of RP CS Get and  Post oper ations is  displayed.
  973   ,
  974   Step 3,Scr oll throug h and sele ct POST /b y-name/vps  get aller gies/call  link.
  975   ,Operation  window is  expanded.
  976   ,
  977   Step 4,In  the VPSDFN  Parameter  field, ty pe 60.
  978  
  979   Click Try  it out!
  980   ,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.
  981  
  982   API Browse r displays  a post re sponse :
  983  
  984   Curl
  985   Request UR L
  986   Response B ody
  987   Response C ode
  988   Response H eaders
  989   ,
  990   Step 5,Sel ect the Cu rl respons e:
  991  
  992   Click in f ront of th e curl (in  the respo nse body)
  993   scrolling  to the rig ht,
  994   press and  hold the s hift key 
  995   and then c lick at th e end on t he curl re sponse.
  996  
  997   Copy the s elected Cu rl line. ( Rt-click C opy or ctr l+c)
  998   ,The entir e Curl lin e is selec ted and co pied.,
  999   Step 6,Ope n Notepad.
  1000  
  1001   Paste the  curl line  into Notep ad.
  1002   (Rt-click  Paste or c trl+v)
  1003   ,Curl line  is displa yed in a n otepad and  is editab le.,
  1004   Step 7,Typ e all wher e the serv er is name d.
  1005  
  1006   Add a spac e at the e nd of the  curl.
  1007  
  1008   Type -k af ter the sp ace.
  1009   ,Display s hould be s imilar to:
  1010  
  1011   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: ae5 503a4-5371 -4286-b60b -49e8c01d8 23d' -d 'V PSDFN=236'  'https:// IP : PORT /vistas/al l/rpcs/by- name/vps%2 0get%20all ergies/cal l' -k,
  1012   Step 8,Ope n a VM  us ing attach mate conne ction  (ED E).
  1013   ,Valid cre dentials h ave been a ccepted.
  1014  
  1015   Note: if t he tester  is already  logged in , an addit ional logi n is not n ecessary,
  1016   Step 9,Aut henticate  using vali d credenti als.
  1017   ,Valid cre dentials h ave been a ccepted.,
  1018   Step 10,Pa ste the mo dified cur l line int o the comm and line p rompt .
  1019  
  1020   Press Ente r.
  1021  
  1022   ,A respons e is displ ayed.,
  1023   Step 11,Ve rify the c orrect res ponse is d isplayed f or baypine s.,The cor rect respo nse is dis played for  baypines.
  1024   ,
  1025   Step 12,Ve rify the f ollowing i s displaye d for west palm:
  1026  
  1027   {
  1028     "westpal m": {
  1029       "error ": "Sessio n is no lo nger valid . Please l og in agai n.",
  1030       "statu sCode": 40 0
  1031     }
  1032  
  1033   ,The follo wing is di splayed fo r westpalm :
  1034  
  1035   {
  1036     "westpal m": {
  1037       "error ": "Sessio n is no lo nger valid . Please l og in agai n.",
  1038       "statu sCode": 40 0
  1039     },
  1040   Step 13,Ve rify the f ollowing i s displaye d for hale y:
  1041  
  1042   {
  1043     "westpal m": {
  1044       "error ": "Sessio n is no lo nger valid . Please l og in agai n.",
  1045       "statu sCode": 40 0
  1046     }
  1047  
  1048   ,The follo wing is di splayed fo r westpalm :
  1049  
  1050   {
  1051     "westpal m": {
  1052       "error ": "Sessio n is no lo nger valid . Please l og in agai n.",
  1053       "statu sCode": 40 0
  1054     },
  1055   Step 14,Us ing the pr evious mod ified Curl  command:
  1056  
  1057   Replace al l with wes tpalm.
  1058  
  1059   ,Display s hould be s imilar to:
  1060  
  1061   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: 379 c4ca0-4f36 -49b5-a920 -36a261e9c 706' -d 'V PSDFN=60'  'https:// IP : PORT /vistas/we stpalm/rpc s/by-name/ vps%20get% 20allergie s/call' -k
  1062   ,
  1063   Step 15,Pa ste the mo dified cur l line int o the comm and line p rompt .
  1064  
  1065   Press Ente r.
  1066  
  1067   ,A respons e is displ ayed.,
  1068   Step 16,Ve rify the c orrect res ponse is d isplayed f or westpal m.,The cor rect respo nse is dis played for  westpalm.
  1069   ,
  1070   Step 17,Us ing the pr evious mod ified Curl  command:
  1071  
  1072   Replace we stpalm wit h haley.
  1073  
  1074   ,Display s hould be s imilar to:
  1075  
  1076   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: 379 c4ca0-4f36 -49b5-a920 -36a261e9c 706' -d 'V PSDFN=60'  'https:// IP : PORT /vistas/ha ley/rpcs/b y-name/vps %20get%20a llergies/c all' -k
  1077   ,
  1078   Step 18,Pa ste the mo dified cur l line int o the comm and line p rompt .
  1079  
  1080   Press Ente r.
  1081  
  1082   ,A respons e is displ ayed.,
  1083   Step 19,Ve rify the c orrect res ponse is d isplayed f or haley., The correc t response  is displa yed for ha ley.
  1084   ,
  1085   Step 20,Us ing the pr evious mod ified Curl  command:
  1086  
  1087   Replace ha ley with a ll.
  1088  
  1089   ,Display s hould be s imilar to:
  1090  
  1091   curl -X PO ST --heade r 'Content -Type: app lication/x -www-form- urlencoded ' --header  'Accept:  applicatio n/json' -- header 'VJ S-SESSION- TOKEN: 379 c4ca0-4f36 -49b5-a920 -36a261e9c 706' -d 'V PSDFN=60'  'https:// IP : PORT /vistas/al l/rpcs/by- name/vps%2 0get%20all ergies/cal l' -k
  1092   ,
  1093   Step 21,Pa ste the mo dified cur l line int o the comm and line p rompt .
  1094  
  1095   Press Ente r.
  1096  
  1097   ,A respons e is displ ayed.,
  1098   Step 22,Ve rify a cor rect respo nse is ret urned for  all three  vistas (ba ypines, ha ley, & wes tpalm).
  1099   ,The corre ct respons es are ret urned for  baypines,  haley, and  westpalm. , IP 3,
  1100   Step 23,Le ave Comman d Line win dow open f or additio nal tests.
  1101   ,Command L ine window  remains o pen.,
  1102  
  1103  
  1104  
  1105   SHEET: TC0 08
  1106  
  1107   Project_ T itle:,Vist A Services  Assembler  Phase 2.5  (VSA-P2.5 )
  1108   ,Tester_Na me:,Enter  Test Engin eer,
  1109   Test Case  Name_Numbe r:,TC008_V istA.js Re quest Vali dation,Dat e_Executed : ,Enter D ate,
  1110   Test_Descr iption:,Ve rify the r equirement   IP 3: VSA tra nsaction l ogging dat a shall in clude date /time of t ransaction , ‘consumi ng applica tion’, ser vice invok ed and des tination V istA syste ms.
  1111   ,Test_Phas e: ,Increm ent 4
  1112   ,
  1113   Functional _Requireme nts:, IP 3,  IP 3,Release/ Build Numb er:,v3.0.1 0
  1114   ,
  1115   Prerequisi tes:,Acces s Code and  Verify Co de require d.
  1116   Internet E xplorer re quired.
  1117   ,Environme nt Tested  In:,VA EDE  Environme nt
  1118   ,
  1119   STEP_NUMBE R,ACTION,E XPECTED_RE SULTS,PASS /FAIL,REQU IREMENTS,C OMMENTS,
  1120   Pre-requis ite specif ic for tes t,User alr eady has a ccess to v js-docker  in the com mand line  window.
  1121  
  1122   ,n/a,n/a,
  1123  
  1124   ,
  1125   Step 1,Typ e docker e xec -it we bux bash a t the comm and line p rompt.
  1126  
  1127   Press Ente r.
  1128   ,Response  returned ( similar ou tput below ):
  1129  
  1130   [root@8756 26ea5746 / ]#,
  1131   Step 2,Typ e ll (lowe r case L's ).
  1132  
  1133   Press Ente r.
  1134   ,Response  returned.,
  1135   Step 3,Typ e cd vista js.
  1136  
  1137   Press Ente r.
  1138   ,Changed d irectory r esponse (s imilar out put) below :
  1139  
  1140   [root@8756 26ea5746 v istajs]#,
  1141   Step 4,Typ e cd log.
  1142  
  1143   Press Ente r.
  1144   ,Response  returned ( similar ou tput)below :
  1145  
  1146   [root@8756 26ea5746 l og]#,
  1147   Step 5,Typ e ll (lowe r case L's ).
  1148  
  1149   Press Ente r.
  1150   ,Response  returned ( similar ou tput below ):
  1151  
  1152   requests-V istA Servi ces Assemb ler acti
  1153   onserver- IP .log
  1154  
  1155   Note: Look  for the l og with th e most rec ent date.   That is t he log tha t should b e accessed .
  1156   ,
  1157   Step 6,Typ e cat r.
  1158  
  1159   Press the  tab key.
  1160  
  1161   Add the lo g that wil l be acces sed. (i.e.  4.log) to  the parti al log fil e name.
  1162  
  1163   Press Ente r.
  1164   ,Log file  will be di splayed.,
  1165   Step 7,Ver ify the lo gs display ed have th e followin g labels:
  1166  
  1167   The instan ce name
  1168   The time o f the requ est
  1169   The url/re source the y are acce ssing
  1170   The IP of  the reques t (will us e X-FORWAR DED-FOR if  sent)
  1171   The userna me if avai lable. If  not, then  "Anonymous " is logge d
  1172   Log Type ( Incoming R equest, Ca ll to Vist A site)
  1173   Time of lo g entry
  1174   ,The follo wing (simi lar) infor mation is  displayed:
  1175  
  1176   {"instance Name":"web ux",
  1177   "requestTi me":"2016- 10-11T15: PORT : PORT .680Z",
  1178   "ip":" IP ",
  1179   "username" :"Anonymou s",
  1180   "url":"/ap i/vsa-api- browser/vi stas/baypi nes/rpcs/d efinition" ,
  1181   "logType": "Incoming  Request",
  1182   "level":"r equests",
  1183   "message": "",
  1184   "timestamp ":"2016-10 -11T15: PORT : PORT .680Z"}
  1185   ,IP3
  1186  
  1187   IP3,
  1188   Step 8,Typ e Exit.  P ress Enter .
  1189  
  1190   Type Exit.   Press En ter.
  1191   ,Command L ine window  closes.,
  1192  
  1193  
  1194  
  1195   SHEET: Dat aSheet
  1196   TC1,TC2,TC 3,TC4,TC5,
  1197   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,
  1198   NAME,VPSSN ,VPSSN,
  1199   VALUE,6668 92222,6660 00001,
  1200   NAME_1,
  1201   VALUE_1,
  1202   NAME_2,
  1203   VALUE_2,
  1204   DEST,baypi nes,baypin es,haley,b aypine,bay pines,
  1205   SERVER,bay pines,bayp ines,baypi nes,baypin es,baypine s,
  1206   APP,IP,
  1207   OUTPUT,"1" : "672^SAN  JUAN VAMC ^3040101^^ VAMC",
  1208   OUTPUT_1," 2": "516^B AY PINES V AMC^301010 1^^VAMC",
  1209   OUTPUT_2,3 : "673^TAM PA (JAH VA H)^3020101 ^^VAMC",Un known Vist A target,
  1210   ERR_6, "4" : "548^WES T PALM BEA CH VAMC^30 30101^^VAM C,99^PATIE NT DFN not  sent,
  1211   ERR_4,
  1212   ERR,error:  "RPC REST  definitio n not foun d for,
  1213   ERR_1,coul dn't conne ct to host ,
  1214  
  1215  
  1216   SHEET: App roval Sign atures
  1217   Approval S ignatures      ,
  1218   REVIEW DAT E: ,
  1219   SCRIBE: Ap ex Data So lutions,
  1220  
  1221   Signed:,
  1222  
  1223  
  1224  
  1225   Mike Davis , Business  Sponsor , Date,
  1226  
  1227  
  1228  
  1229   Russell Ho lt, Progra m Manager, Date,
  1230  
  1231  
  1232  
  1233   Lori Warre n, Project  Manager,D ate,
  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  
  1300  
  1301  
  1302  
  1303  
  1304  
  1305  
  1306  
  1307  
  1308  
  1309  
  1310  
  1311  
  1312  
  1313  
  1314  
  1315  
  1316  
  1317  
  1318  
  1319  
  1320  
  1321  
  1322  
  1323  
  1324  
  1325  
  1326  
  1327  
  1328  
  1329  
  1330  
  1331  
  1332  
  1333  
  1334  
  1335  
  1336  
  1337  
  1338  
  1339  
  1340  
  1341  
  1342  
  1343  
  1344  
  1345  
  1346  
  1347  
  1348  
  1349  
  1350  
  1351  
  1352  
  1353  
  1354  
  1355  
  1356  
  1357   SHEET: She et1