Correlation file/ Import problem

121 views
Skip to first unread message

Ltester

unread,
Jan 17, 2010, 6:51:07 PM1/17/10
to LoadRunner
I have the below content of the .COR file that i am trying to import
into my vugen so it can set correlation rules for a specific app
server. what i did is that i put the below content in a notepad file
and then save it as a . COR file and then go to vugen recording
settings > correlation, select the application type from the list and
when i import it, it gives me a weird error, in weird characters, no
alphabets or numbers

i would appreciate it if someone can resolve this issue, you can copy
content and put in a text file, save it as .cor file and try to import
it from vugen recording settings > correlation. Thanks

<?xml version="1.0" ?>
- <CorrelationSettings>
- <Group Name="SiteMinder SSO" Enable="1" Icon="logo_default.bmp">
<Rule Name="Auth_Reason" LeftBoundText="&SMAUTHREASON="
LeftBoundType="1" LeftBoundInstance="0"
RightBoundText="&" RightBoundType="1" AltRightBoundText=""
AltRightBoundType="1" Flags="12"
ParamPrefix="pSMAUTHREASON" Type="8" SaveOffset="0" SaveLen="-1"
CallbackName="" CallbackDLLName=""
FormField="" ReplaceLB="" ReplaceRB="" />
<Rule Name="Mehtod" LeftBoundText="&METHOD=" LeftBoundType="1"
LeftBoundInstance="0" RightBoundText="&"
RightBoundType="1" AltRightBoundText="" AltRightBoundType="1"
Flags="12" ParamPrefix="pMETHOD" Type="8"
SaveOffset="0" SaveLen="-1" CallbackName="" CallbackDLLName=""
FormField="" ReplaceLB="" ReplaceRB="" />
<Rule Name="Agent_Name" LeftBoundText="&SMAGENTNAME="
LeftBoundType="1" LeftBoundInstance="0"
RightBoundText="&" RightBoundType="1" AltRightBoundText=""
AltRightBoundType="1" Flags="12"
ParamPrefix="pSMAGENTNAMEenc" Type="8" SaveOffset="0" SaveLen="-1"
CallbackName=""
CallbackDLLName="" FormField="" ReplaceLB="" ReplaceRB="" />
<Rule Name="Type" LeftBoundText="?TYPE=" LeftBoundType="1"
LeftBoundInstance="0" RightBoundText="&"
RightBoundType="1" AltRightBoundText="" AltRightBoundType="1"
Flags="8" ParamPrefix="pTYPE" Type="8"
SaveOffset="0" SaveLen="-1" CallbackName="" CallbackDLLName=""
FormField="" ReplaceLB="" ReplaceRB="" />
<Rule Name="RealModeID" LeftBoundText="&REALMOID=" LeftBoundType="1"
LeftBoundInstance="0"
RightBoundText="&" RightBoundType="1" AltRightBoundText=""
AltRightBoundType="1" Flags="8"
ParamPrefix="pREALMOID" Type="8" SaveOffset="0" SaveLen="-1"
CallbackName="" CallbackDLLName=""
FormField="" ReplaceLB="" ReplaceRB="" />
<Rule Name="Target" LeftBoundText="&TARGET=" LeftBoundType="1"
LeftBoundInstance="0" RightBoundText="&"
RightBoundType="1" AltRightBoundText="" AltRightBoundType="1"
Flags="8" ParamPrefix="pTARGETenc"
Type="8" SaveOffset="0" SaveLen="-1" CallbackName=""
CallbackDLLName="" FormField="" ReplaceLB=""
ReplaceRB="" />
</Group>
</CorrelationSettings>

(To use these, copy/paste into a notepad file, set the file extension
to .cor, and import them
in Vugen/Recording Options/Correlation).

LoadTestGuy

unread,
Jan 18, 2010, 4:11:18 AM1/18/10
to lr-loa...@googlegroups.com
Hi

Try in the following method

Modify the .cor file to input the logo image

1. Create a custom correlation rule by going to Correlation -> New Application -> New rules under Recording options.
2. Export that correlation rule into a .cor file.
3. Open the .cor file with Notepad and update the name of bitmap file and save it.

Example:
<Group Name="YOURNAME" Enable="1" Icon="logo_yourlogo.bmp">

4. Put the logo_yourlogo.bmp file into the <Loadrunner>datwebrulesdefaultsettingsicons folder.
5. Go to correlation studio and delete the application that you exported.
6. Now import the saved .cor file that you modified.

Note:
The icons used in the correlation studio are of size 20 by 16. Make sure the custom icon created is of that size.



--
You received this message because you are subscribed to the Google "LoadRunner" group.
To post to this group, send email to LR-Loa...@googlegroups.com
To unsubscribe from this group, send email to
LR-LoadRunne...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/LR-LoadRunner?hl=en

Ltester

unread,
Jan 18, 2010, 4:45:22 AM1/18/10
to LoadRunner
thanks for the effort,but that did not work Thanks

On Jan 18, 1:11 am, LoadTestGuy <loadtest...@gmail.com> wrote:
> Hi
>
> Try in the following method
>
> Modify the .cor file to input the logo image
>
> 1. Create a custom correlation rule by going to Correlation -> New
> Application -> New rules under Recording options.
> 2. Export that correlation rule into a .cor file.
> 3. Open the .cor file with Notepad and update the name of bitmap file and
> save it.
>

> *Example:*


> <Group Name="YOURNAME" Enable="1" Icon="logo_yourlogo.bmp">
>
> 4. Put the logo_yourlogo.bmp file into the
> <Loadrunner>datwebrulesdefaultsettingsicons folder.
> 5. Go to correlation studio and delete the application that you exported.
> 6. Now import the saved .cor file that you modified.
>

> *Note:*

> > LR-LoadRunne...@googlegroups.com<LR-LoadRunner%2Bunsubscribe@goog­legroups.com>


> > For more options, visit this group at

> >http://groups.google.com/group/LR-LoadRunner?hl=en- Hide quoted text -
>
> - Show quoted text -

Reply all
Reply to author
Forward
0 new messages