Lawson Smoke Tests



Portal Smoke Tests

  • Verify basic web server configuration for Lawson. 
    • http://<server>/cgi-lawson/printenv.exe (Provides Debug information)
  • Verify connectivity to the Lawson Environment. 
    • http://<server>/cgi-lawson/userenv.exe (Provides User information)
  • Verify database connectivity to Lawson Product Lines. 
    • http://<server>/servlet/Router/Data/Erp?prod=logan&file=version (Dump of the Logan version table)
    • http://<server>/servlet/Router/Data/Erp?prod=prodline&file=cucodes (Dump of cucodes table, specify your product line for prodline)
  • Verify web server is redirecting to WebSphere.
    • http://<server>/servlet/Profile (Provides User information) 

IOS Smoke Tests


  • http://<server>/servlet/SysEnv
  • http://<server>/servlet/Profile?
  • http://<server>/servlet/Profile?_PATH=/lawson/portal


Security Smoke Tests


  • http://<server>/sso/SSOServlet
  • http://<server>/sso/SSOCfgInfoServlet
  • http://<server>/lawson/portal 

 More


  1. Verify ability to log into Portal. Log into Portal 
  2. Verify ability to change Portal layout. Modify viewable content (Preferences/Content) 
  3. Verify ability to change user options in Portal. Modify user preferences (Preferences/User Options) 
  4. Verify ability to render online forms. Form transfer to CU01 
  5. Verify ability to perform a select and inquire. In CU01, select USD from the Currency Code field and hit Inquire 
  6. Verify ability to view form help. In CU01, attempt to view form help (Help/Form Help) 
  7. Verify ability to render batch forms and add jobs. Form transfer to CU201 and add a new CU201 batch job 
  8. Verify ability to process batch jobs. Submit the new CU201 batch job 
  9. Verify ability to view report output of batch jobs. Attempt to view the resulting report in TEXT, PDF, and CSV 
  10. Verify ability to create entries for custom forms. Portal Administration/Rebuild Custom Form Index 
  11. Verify LDAP access lsconfig -l 

ProcessFlow

cd $GENDIR/bin

  • perl pfserv test
  • verify that ProcessFlow and IOS are communicating. pfserv test testGroupIOS

LBP


  • SSO Smoke test  http://yourlbpservername:port/sso/SSOServlet
  • log into LBP using the non-dsso lbpadmin url http://yourlbpservername:port/lbp9/LBP.jsf?type=l

Use curl to verify site is up

@echo off :: Enter what to look for in portal login page set searchfor=index.htm :: Reference curl command below :: curl --silent http://server/lawson/portal/ | find /I /C "index.htm" :: for /F "tokens=*" %%A in ('curl --silent http://server/lawson/portal/ ^| find /I /C "%searchfor%"') do set count=%%A :: echo Count %count% :: capture error and process based on result goto answer%errorlevel% :answer0 if %count%==1 (echo %count% %searchfor% --**-- Portal is ready to log into) Else (echo %count% %searchfor% instances found if ^<^= 0 find why portal is down) goto end :answer1 set result=Error goto report :report if %result%==NoErr (echo No Error) goto end :end :: echo done :: exit and pass errorlevel exit /b %errorlevel%

No comments:

Post a Comment

Reflecting on Service

I was US Army Airborne Field Artillery - Target Acquisition. I never was in combat, so I don't think of myself as a veteran, but I do th...