Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

LR Script creation - dynamic Body of web_custom_request

$
0
0

Hi,

 

We are trying to write a UI script where user just clicks on one of the button and screen navigates to next page (every time same). Before coming to UI, the data was sent to the system in xml mode. We wrote UI script and it works fine with one set of data. If we change any input values in xml datafields, still script works fine. Here the problem comes, if we add/remove datafileds from xml, the request body is being generated by laod runner. When we add/remove datafileds, its not like we are changing the xml schema. eg. we have two nodes of one type in xml when first time we recorded , and 3 in next one. These changes will appear on UI screen and being captured while recording. Our problem is even we are add/removing data fields in xml, we dont care while clicking Button on screen in script. Saying that we are interested in creating a script which can just click the button without caring about what data is being sent along within Body request. 

 

//Not Interested Part-------*****-------
"Body=p:m30:0:p:CLAI1Sbf:qsSelectCLAI1=0&p:m30:0:p:CLAI1Sbf:QuickSearchCLAI1co1={N}&p:m30:0:p:CLAI1Sbf:QuickSearchClaimsQuickSearchstartDate=&p:m30:0:p:CLAI1Sbf:QuickSearchClaimsQuickSearchendDate=&p:m32:0:p:CLLI5Sbf:qsSelectCLLI5=0&p:m32:0:p:CLLI5Sbf:QuickSearchCLLI5cc=&p:d:r{PDRValue}:0:p:vsoc0=0&p:d:r{PDRValue}:0:p:Claimspr={cclaimspr}&p:d:r{PDRValue}:0:p:e6:i:0:tx=993390&p:d:r{PDRValue}:0:p:Claimslt1=&p:d:r{PDRValue}:0:p:Claimssm={cclaimssm}&p:d:r{PDRValue}:0:p:dynUDP_BNFT_PV_NBR:i:0:tx=8989&p:d:r{PDRValue}:0:p:d4:i:0:nr=&p:d:r{PDRValue}:0:p:d2:i:0:dt=&p"
":d:r{PDRValue}:0:p:Claimspm=&p:d:r{PDRValue}:0:p:dc:itrusg:0:itrrec:0:pd100=&p:d:r{PDRValue}:0:p:dc:itrusg:0:itrrec:0:date30=&p:d:r{PDRValue}:0:p:db:itrusg:0:itrrec:0:pd100=&p:d:r{PDRValue}:0:p:db:itrusg:0:itrrec:0:date30=&p:d:r{PDRValue}:0:p:da:itrusg:0:itrrec:0:fc50=&p:d:r{PDRValue}:0:p:da:itrusg:0:itrrec:0:date30=&p:d:r{PDRValue}:0:p:d9:itrusg:0:itrrec:0:fc50=&p:d:r{PDRValue}:0:p:d9:itrusg:0:itrrec:0:date30=&p:d:r{PDRValue}:0:p:d9:itrusg:0:itrrec:0:date31=&p:d:r{PDRValue}:0:p:dd:itrusg:0:itrrec:0:fc50=&p:d:r{PDRValue}:0:p:dd:itrusg:0:itrrec:0:nr50=& 
//Interested Part----*****------ 
org.apache.myfaces.trinidad.faces.FORM=dataForm&javax.faces.ViewState={cViewState}&oracle.adf.view.rich.DELTAS="
"%7Bp%3Ad%3Ar{PDRValue}%3A0%3Ap%3AecdIter%3A8%3ADYRECD%3Aitrusg%3A0%3Asumtab%3D%7BviewportSize%3D2%2Crows%3D1%7D%2Cp%3Ad%3Ar{PDRValue}%3A0%3Ap%3ACLLI1PC%3ACLLI1Tab%3D%7BviewportSize%3D8%2Crows%3D2%7D%2Cp%3Ad%3Ar{PDRValue}%3A0%3Ap%3ACLLI1PC%3A_wrpMn%3D%7Bdisabled%3Dtrue%7D%2Cp%3Ad%3Ar{PDRValue}%3A0%3Ap%3ACLLI1PC%3A_rszClm%3D%7Bdisabled%3Dtrue%7D%2Cp%3Ad%3Ar{PDRValue}%3A0%3Ap%3ACLLI1PC%3A_srtAsc%3D%7Bdisabled%3Dtrue%7D%2Cp%3Ad%3Ar{PDRValue}%3A0%3Ap%3ACLLI1PC%3A_srtDsc%3D%7Bdisabled%3Dtrue%7D%7D&event=p%3Ad%3Ar{PDRValue}%3A0%3Ap%3AClaimsPriceButton&event.p:d:r{PDRValue}:0"
":p:ClickMeButton=%3Cm+xmlns%3D%22http%3A%2F%2Foracle.com%2FrichClient%2Fcomm%22%3E%3Ck+v%3D%22type%22%3E%3Cs%3Eaction%3C%2Fs%3E%3C%2Fk%3E%3C%2Fm%3E&oracle.adf.view.rich.PROCESS=p%3Ad%3Ar{PDRValue}",

 

 

Please help !


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>