EPM Monitoring‎ > ‎

3. Workspace/HFM Login

Rough example webinject synthetic Workspace -> HFM login Script for version 11.1.2.1. The script also checks to see if a Web Data Entry form opens and a particular number ("9.8067")is shown.

As part of the Workspace login the correct working of RAF is also validated as the Home page is loaded up. A script like this can easily be integrated into a monitoring system like Nagios and its forks. Similar solutions work for validation of Financial Reports (Does it generate PDF output). If an LDAP connection is used then we also test LDAP connectivity at each login. The login could be configured to run every minute. The load generated, if smallish light actions are triggered then the load generated is minimal. Note that scripts have been seen to break after applying major Oracle patches. For verifying EPM 11.1.2.2 or greater extra attention needs to be made to the ADF and arf tokens that need to be captured and sent back in requests to HFM and Planning.

<testcases repeat="1">

<case
    id             = "10"
    description1   = "http://vb11121wi:19000/workspace/index.jsp"
    url            = "http://vb11121wi:19000/workspace/index.jsp"
/>
<case
    id             = "20"
    description1   = "http://vb11121wi:19000/workspace/logon"
    method="post"
    url            = "http://vb11121wi:19000/workspace/logon"
    postbody="sso_username=user000&sso_password=OzzyRules99"
    posttype    ="application/x-www-form-urlencoded"
    verifypositive='BpmResponse type="success"'
    parseresponse1="\<!\[CDATA\[|\]\]>|escape"
    parseresponse2="\<assertertoken>\<!\[CDATA\[|\]\]>|escape"
    />
<case
    id             = "30"
    description1   = "http://vb11121wi:19000/workspace/modules/com/oracle/workspace/mode/Adf.jsp"
    method="post"
    url            = "http://vb11121wi:19000/workspace/modules/com/oracle/workspace/mode/Adf.jsp"
    postbody="sso_token={PARSEDRESULT1}"
    />

<case
    id             = "40"
    description1   = "http://vb11121wi:19000/raframework/browse/dyn"
    method="post"
    url            = "http://vb11121wi:19000/raframework/browse/dyn"

    postbody="ora_epm_ctg={PARSEDRESULT2}"

    />

<case
    id             = "50"
    description1   = "http://vb11121wi:19000/raframework/resources/cds_en.js"
    url            = "http://vb11121wi:19000/raframework/resources/cds_en.js"
    />

<case
    id             = "60"
    description1   = "http://vb11121wi:19000/raframework/browse/cdsrpc"
    method            ="post"
    url            = "http://vb11121wi:19000/raframework/browse/cdsrpc"
    addheader        ="ora_epm_ctg={PARSEDRESULT2}"
    postbody        ="rpc_data=%3Cstruct%20member0%3D%22method%22%20member1%3D%22parameters%22%20member2%3D%22format%22%3E%3Cstring%20value%3D%22Server_getRepository%22%2F%3E%3Cnull%2F%3E%3Cstring%20value%3D%22json%22%2F%3E%3C%2Fstruct%3E&sso_token={PARSEDRESULT1}"
    verifypositive='folderNodeTypeUuid'
    parseresponse3="ORA_EPMWS_session=|;"
    />
<case
    id             ="65"
    description1   = "Workspace HomePage"
    method            ="post"
    url            = "http://vb11121wi:19000/raframework/browse/workspacepages?moduleID=tools.workspacepages.6&editable=true&accessibilityMode=false&action=4&repository_uuid=HomePage_wsp&theme_dir=themes%2Ftheme_tadpole%2F"
    addheader        ="ora_epm_ctg={PARSEDRESULT2}"
    postbody        ="rpc_data=%3Cstruct%20member0%3D%22method%22%20member1%3D%22parameters%22%20member2%3D%22format%22%3E%3Cstring%20value%3D%22Server_getRepository%22%2F%3E%3Cnull%2F%3E%3Cstring%20value%3D%22json%22%2F%3E%3C%2Fstruct%3E&sso_token={PARSEDRESULT1}"
    verifypositive='Workspace Page'
    />    
    <case
    id             = "70"
    description1   = "Workspace HomePage QuickLinks"
    method            ="post"
    url            = "http://vb11121wi:19000/raframework/browse/dyn?page=/jsp/com/hyperion/tools/workspacepages/quicklink.jsp&cssUri=%2E%2E%2Fthemes%2Ftheme_tadpole%2Fhomepage%2Ecss&showTitle=true&showItems=4&numThreads=5&theme_dir=themes%2Ftheme_tadpole%2F"
    addheader        ="ora_epm_ctg={PARSEDRESULT2}"
    postbody        ="rpc_data=%3Cstruct%20member0%3D%22method%22%20member1%3D%22parameters%22%20member2%3D%22format%22%3E%3Cstring%20value%3D%22Server_getRepository%22%2F%3E%3Cnull%2F%3E%3Cstring%20value%3D%22json%22%2F%3E%3C%2Fstruct%3E&sso_token={PARSEDRESULT1}"
    verifypositive='List of Quick Links such as Favorites and Applications'
    />    
    <case
    id             = "80"
    description1   = "Workspace HomePage workspacePagelisting"
    method            ="post"
    url            = "http://vb11121wi:19000/raframework/browse/dyn?page=/jsp/com/hyperion/tools/workspacepages/workspacePagelisting.jsp&cssUri=%2E%2E%2Fthemes%2Ftheme_tadpole%2Fhomepage%2Ecss&showTitle=true&showItems=4&theme_dir=themes%2Ftheme_tadpole%2F"
    addheader        ="ora_epm_ctg={PARSEDRESULT2}"
    postbody        ="rpc_data=%3Cstruct%20member0%3D%22method%22%20member1%3D%22parameters%22%20member2%3D%22format%22%3E%3Cstring%20value%3D%22Server_getRepository%22%2F%3E%3Cnull%2F%3E%3Cstring%20value%3D%22json%22%2F%3E%3C%2Fstruct%3E&sso_token={PARSEDRESULT1}"
    verifypositive='List of Workspace Pages'
    />
    <case
    id             = "90"
    description1   = "Workspace HomePage mrulisting"
    method            ="post"
    url            = "http://vb11121wi:19000/raframework/browse/dyn?page=/jsp/com/hyperion/tools/workspacepages/mrulisting.jsp&cssUri=%2E%2E%2Fthemes%2Ftheme_tadpole%2Fhomepage%2Ecss&showTitle=true&theme_dir=themes%2Ftheme_tadpole%2F"
    addheader        ="ora_epm_ctg={PARSEDRESULT2}"
    postbody        ="rpc_data=%3Cstruct%20member0%3D%22method%22%20member1%3D%22parameters%22%20member2%3D%22format%22%3E%3Cstring%20value%3D%22Server_getRepository%22%2F%3E%3Cnull%2F%3E%3Cstring%20value%3D%22json%22%2F%3E%3C%2Fstruct%3E&sso_token={PARSEDRESULT1}"
    verifypositive='List of Recently Opened'
    />
        <case
    id             = "100"
    description1   = "http://vb11121wi:19000/hfm/GlobalWorkspaceNav/bpm/modules/com/hyperion/hfm/web/appcontainer/Adf.asp"
    method            ="post"
    url            = "http://vb11121wi:19000/hfm/GlobalWorkspaceNav/bpm/modules/com/hyperion/hfm/web/appcontainer/Adf.asp"
    addheader        ="ora_epm_ctg={PARSEDRESULT2}"
    postbody        ="repository_token={PARSEDRESULT3}&sso_token={PARSEDRESULT1}&sourceApp=SIMPLE&mru_id=HFM%3ASIMPLE%3Aapplication&cluster=hfmcluster&workspace=true&themeSelection=BpmTadpole&LOCALE_LANGUAGE=en_US&rightToLeft=false&accessibilityMode=false&LOCALE_LANGUAGE=en_US&bpm.contentwidth=655&bpm.contentheight=611&bpm.objectpaletteheight=638&bpm.objectpalettewidth=207"
    parseresponse4="HFM_\{|\}"

    />
            <case
        id             = "110"
    description1   = "http://vb11121wi:19000/hfm/Common/Empty.html"
    method            ="get"
    url            = "http://vb11121wi:19000/hfm/Common/Empty.html"
    verifypositive="Financial Management"
    />
<case
        id             = "120"
    description1   = "http://vb11121wi:19000/hfm/OpenApp/ReopenAppDirect.asp"
    method            ="post"
    url            = "http://vb11121wi:19000/hfm/OpenApp/ReopenAppDirect.asp"
    addheader        ="hfm_guid=HFM_{PARSEDRESULT4}"
    postbody        ="repository_token={PARSEDRESULT3}&sso_token={PARSEDRESULT1}&app=simple&cluster=hfmcluster&workspace=true&reopen=true&themes_tadpole=BpmTadpole&HFMCustomContext=hfm&LOCALE_LANGUAGE=en_US&rightToLeft=false&accessibilityMode=false&themeSelection=BpmTadpole&sourceApp=simple&clusterName=hfmcluster"
    />
<case
    id             = "130"
    description1   = "http://vb11121wi:19000/hfm/DocMgr/DocMgr.asp"
    url   = "http://vb11121wi:19000/hfm/DocMgr/DocMgr.asp?iscontained=yes&app=SIMPLE&cluster=hfmcluster&workspace=true&reopen=true&themes_tadpole=BpmTadpole"
    addheader        ="hfm_guid=HFM_{PARSEDRESULT4}"
    postbody        ="repository_token={PARSEDRESULT3}&sso_token={PARSEDRESULT1}&app=simple&cluster=hfmcluster&workspace=true&reopen=true&themes_tadpole=BpmTadpole&HFMCustomContext=hfm&LOCALE_LANGUAGE=en_US&rightToLeft=false&accessibilityMode=false&themeSelection=BpmTadpole&sourceApp=simple&clusterName=hfmcluster"

    verifypositive='Document WDEF 40'
    />

<case
    id             = "150"
    description1   = "http://vb11121wi:19000/hfm/data/webformgenerated.asp"
    url   = "http://vb11121wi:19000/hfm/data/webformgenerated.asp?formname=WDEF+40&caller=&iscontained=Yes&;"
    addheader        ="hfm_guid=HFM_{PARSEDRESULT4}"
    postbody        ="repository_token={PARSEDRESULT3}&sso_token={PARSEDRESULT1}&DocMgr=%3CDocMgr%3E%3CDocumentType%3E3%3C%2FDocumentType%3E%3CDocumentFileType%3E3%3C%2FDocumentFileType%3E%3CPath3%3E%3C%2FPath3%3E%3CDocumentAllowSwitchDocTypes%3E-1%3C%2FDocumentAllowSwitchDocTypes%3E%3CDocumentShowHeaderFooter%3E-1%3C%2FDocumentShowHeaderFooter%3E%3CDocumentDisplayMode%3E%3C%2FDocumentDisplayMode%3E%3CDocumentPostBackURL%3E%3C%2FDocumentPostBackURL%3E%3C%2FDocMgr%3E&Path=&Name=WDEF+40&DocumentType=3&DocumentFileType=3&ReturnPage="
    verifypositive="9.8067"
    />
<case
    id             = "160"
    description1   = "http://vb11121wi:19000/hfm/logon/processlogoff.asp"
    method            ="post"
    url   = "http://vb11121wi:19000/hfm/logon/processlogoff.asp"
    addheader        ="hfm_guid=HFM_{PARSEDRESULT4}"
    postbody        ="repository_token={PARSEDRESULT3}&sso_token={PARSEDRESULT1}&sourceapp=simple&cluster=hfmcluster&workspace=true&reopen=true&themes_tadpole=BpmTadpole"
    />
<case
    id             = "170"
    description1   = "http://vb11121wi:19000/workspace/logon?action=logoff"
    method            ="post"
    url   = "http://vb11121wi:19000/hfm/logon/processlogoff.asp"
    postbody        ="repository_token={PARSEDRESULT3}&sso_token={PARSEDRESULT1}&sourceapp=simple&cluster=hfmcluster&workspace=true&reopen=true&themes_tadpole=BpmTadpole"

    />

<case
    id             = "180"
    description1   = "http://vb11121wi:19000/raframework/browse/logon?action=logoff"
    method            ="get"
    url   = "http://vb11121wi:19000/hfm/logon/processlogoff.asp"
    />

<case
    id             = "190"
    description1   = "http://vb11121wi:19000/hfm/logon/ProcessLogoff.asp"
    method            ="get"
    url   = "http://vb11121wi:19000/hfm/logon/processlogoff.asp"
    />

    
</testcases>


Comments