Posts Tagged test
Configuring WebLogic JMX on LoadRunner Controller
Posted by Martin in Performance on February 4th, 2010
Here is a tip shared by my friend Daisy:
The WebLogic SNMP monitor is enable in the Controller as default. If you need to monitor Weblogic JMX, you have 2 options:
- Use the SiteScope as a monitoring tool instead of Controller;
- Enable the Weblogic JMX monitor into Controller.
- To do this you will have to configure online_resource_graphs.rmd file – located under <LoadRunner DIR>\dat\online_graphs: update the EnableInUi param of the relevant monitor (i.e. for WebLogic (JMX): search for the [WebLogicJMX] section and update its EnableInUi param).
- Also, you might need to install java jdk on Controller (I didn’t have chance to test it):
WebLogic Monitor Requirements and Setup
Requirements
- JDK 1.4 on controller
- Permissions on WebLogic MBeans.
Setup on Controller
- After JDK installation Copy weblogic.jar from the lib folder of WebLogic Server to LoadRunner root\classes.
- Remove jmxri.jar from LoadRunner root \classes.
- Specify the path in the LoadRunner root folder\dat\monitors\WebLogicMon.ini file. Edit the JVM entry in the [WebLogicMon] section. For example: JVM=”E:\Program Files\JavaSoft\JRE\1.4\bin\javaw.exe
- Edit the JavaVersion entry in the [WebLogicMon] section.
Set permissions on WebLogic
- Open the WebLogic console (http://<host:port>/console).
- In the tree on the left, select Security > Realms > myrealm > Users, and click Configure a new User… in the screen on the right. The Create User: General tab opens.
- In the Name box, type weblogic.admin.mbean, enter a password, confirm the password, and then click Apply.
- In the Groups tab, enter the name of any user or group you want to use for monitoring, and then click Apply.
How to Obtain an ICA File Through Citrix Web Interface 4.5 and 4.6
Posted by Martin in Performance on October 8th, 2009
You might be thinking why I’m publishing this here or why do I need a Citrix ICA file. For now I’ll just say that this is an important first step towards performance testing Citrix applications. The full article is not ready yet, but I thought it would be useful to reproduce this information here first, in case the source goes down.
Summary
This article describes how to obtain an ICA file through Citrix Web Interface 4.5 and Web Interface 4.6.
Background
In Web Interface versions earlier than 4.5, you can obtain the ICA file contents using Internet Explorer by using the Save Target As… option when using a link in the applications page (or a similar operation in other Web browsers). When using Web Interface 4.5 or later, this operation no longer results in the ICA file being downloaded.
Procedure
For Web Interface 4.5:
Complete the following procedure:
When using an unsecured transport mechanism (HTTP):
Change the file type association property. To do so:
- Open Windows Explorer.
- From the Tools menu, click Folder options…
- Select the File Types tab.
- Select the ICA / Citrix ICA Client extension.
- Click Advanced and select the Confirm open after download check box.
- Click OK and then click Close.
Once this is done, each time the application launch is attempted (by clicking the application launch link), a dialogue displays asking if you want to open or save the ICA file. Clicking Open launches the application. Clicking Save allows you to save the ICA file to the desired location.
When using a secure transport mechanism (HTTPS) with Internet Explorer:
When using a secure transport mechanism, the ActiveX control (ICO) is used to launch the application (this does not involve saving the ICA file), hence the file cannot be saved. However, changing some settings in Internet Explorer can modify this behaviour so that the ICA file is downloaded. To do this, configure Internet Explorer so that it does not trust the ActiveX control and therefore reverts to downloading the ICA file. Use the following procedure:
-
- Go to Tools > Internet Options from the Internet Explorer menu.
- Select the Security tab.
- Click the Custom level… button to display the Security Settings dialog.
- Ensure that File download is set to Enabled in the Downloads section.
- If the site is currently in the Trusted sites or Local intranet zone list, remove it (the site should be displayed in the Internet zone).
- If you are using an operating system that has the Enhanced Internet Explorer Security Configuration enabled, this feature must be disabled (go to the Control Panel > Add or Remove Programs > Add/Remove Windows Components section).
- Adjust the settings so that Internet Explorer can download files using the following procedure:
Once these changes have been made, follow the same operations as described in the HTTP section above.
For Web Interface 4.6:
- Use a Firefox browser to enumerate the application icons. Right-Click and save the file to the desired location.
- Edit the saved file in Notepad. Remove the “RemoveICAFile=yes” line so that the ICA file is not deleted from the desired location when the application is accessed.
-Or-
- Use Web Interface 4.2 or an earlier version to create the desired ICA file.
- Edit the saved file in Notepad. Remove the “RemoveICAFile=yes” line so that the ICA file is not deleted from the desired location when the application is accessed.
-Or-
If the server farm only contains Presentation Server 4.5 servers, use the Presentation Server Console from Presentation Server 4.0 (Note: Do not use this console to make other changes) and use the built-in feature to create the ICA file by right-clicking the published application. Else, use the Presentation Server Console as normal.
-Or-
Use Internet Explorer 6 or 7 (if asked to save as .aspx, save as .ica) and ensure the Web Interface site is accessed via the internet zone (e.g. by IP address or FQDN)
Using WSDL files to Create WebService Scripts
Posted by Martin in Performance on September 3rd, 2009
Hello Folks,
Today I’m here to show you how to use one of the easiest scripting protocols on LoadRunner, WebService. Being simple doesn’t mean that the protocol it’s not powerful. A lot of large enterprise applications and web portals use WebServices on the back office processes.
There are several ways of scripting this king of application, but today I’ll show how to use .NET WSDL files to create a simple script. Instead of pasting several images on the post I thought it would be more productive to record a screen cast. So here it is, the first video guide of this blog:
The steps are very simple, not much to be done!
- Create a new single protocol script using the Web Service protocol.
- Click on the “Manage Services” button on the top left corner.
- Click on the “Import” button.
- Select URL and then paste your WSDL file URL Remember that it should include the “?WSDL” string at the end.
- Click on the “Import” button and then OK.
- Back to the script view, click on the “Add Service Call” button.
- Select the service you just added on the “Service” drop down list.
- Select the call you want to add on the “Operation” drop down list.
- At this point, you will see a list of parameters (Input and Output) on the middle box.
- The Input parameters are the parameters you will use on your request. On the opposite way, Output parameters are the parameters returned by the server.
- Some input parameters are required and some are optional. You will notice the difference on the “Include argument in call” checkbox.
- The required parameters have this checkbox disabled.
- With this checkbox you can add optional parameters to the request.
- You can also set the values you’ll be sending by filling the “Value” text box.
- You can save the returned parameters by selecting the desired parameter under “Output Arguments” and selecting the “Save returned value in parameter” checkbox.
- Once you’re done with the arguments selection, click on the OK button. This will add the request to the script.
- Once the code is created, you can replace parameters, add static arguments and all sorts of things that can only be done in LoadRunner.
- Returned values will be saved on the selected parameters to be used later, in case you have more than once call per script (sequential steps).
That’s It! On the next guide I plan to show you how to create WebService scripts using application trace files.
See you next time!
Myers-Briggs Type Indicator
Posted by Martin in Career, Project Management on April 1st, 2009
The Myers-Briggs Type Indicator (MBTI) assessment is a psychometric questionnaire designed to measure psychological preferences in how people perceive the world and make decisions. These preferences were extrapolated from the typological theories originated by Carl Gustav Jung, as published in his 1921 book Psychological Types (English edition, 1923). The original developers of the personality inventory were Katharine Cook Briggs and her daughter, Isabel Briggs Myers. They began creating the indicator during World War II, believing that a knowledge of personality preferences would help women who were entering the industrial workforce for the first time identify the sort of war-time jobs where they would be “most comfortable and effective”. The initial questionnaire grew into the Myers-Briggs Type Indicator, which was first published in 1962. The MBTI focuses on normal populations and emphasizes the value of naturally occurring differences.
Fundamental to the Myers-Briggs Type Indicator is the theory of psychological type as originally developed by C. G. Jung. Jung proposed the existence of two dichotomous pairs of cognitive functions:
- The “rational” (judging) functions: thinking and feeling
- The “irrational” (perceiving) functions: sensing and intuition
Jung went on to suggest that these functions are expressed in either an introverted or extroverted form. From Jung’s original concepts, Briggs and Myers developed their own theory of psychological type, described below, on which the MBTI is based.
The Myers-Briggs typology model regards personality type as similar to left or right handedness: individuals are either born with, or develop, certain preferred ways of thinking and acting. The MBTI sorts some of these psychological differences into four opposite pairs, or “dichotomies,” with a resulting 16 possible psychological types. None of these types is “better” or “worse”; however, Briggs and Myers theorized that individuals naturally prefer one overall combination of type differences. In the same way that writing with the left hand is hard work for a right-hander, so people tend to find using their opposite psychological preferences more difficult, even if they can become more proficient (and therefore behaviourally flexible) with practice and development.
Attitudes: Extraversion (E) / Introversion (I)
The preferences for extraversion (thus spelled in Myers-Briggs jargon) and introversion are sometimes referred to as attitudes. Briggs and Myers recognized that each of the cognitive functions can operate in the external world of behaviour, action, people and things (extraverted attitude) or the internal world of ideas and reflection (introverted attitude). The Myers-Briggs Type Indicator sorts for an overall preference for one or the other of these.
The terms extravert and introvert are used in a special sense when discussing the Myers-Briggs Type Indicator. People who prefer extraversion draw energy from action: they tend to act, then reflect, then act further. If they are inactive, their level of energy and motivation tends to decline. Conversely, those whose prefer introversion become less energized as they act: they prefer to reflect, then act, then reflect again. People who prefer introversion need time out to reflect in order to rebuild energy.
The extravert’s flow is directed outward toward people and objects, and the introvert’s is directed inward toward concepts and ideas. There are several contrasting characteristics between extraverts and introverts: extraverts are action-oriented and desire breadth, while introverts are thought-oriented and seek depth. Extraverts often prefer more frequent interaction, while introverts prefer more substantial interaction.
Functions: Sensing (S) / iNtuition (N) and Thinking (T) / Feeling (F)
Jung identified two pairs of psychological functions:
- The two perceiving functions, sensing and intuition
- The two judging functions, thinking and feeling
According to the Myers-Briggs typology model, each person uses one of these four functions more dominantly and proficiently than the other three; however, all four functions are used at different times depending on the circumstances.
Sensing and Intuition are the information-gathering (perceiving) functions. They describe how new information is understood and interpreted. Individuals who prefer sensing are more likely to trust information that is in the present, tangible and concrete: that is, information that can be understood by the five senses. They tend to distrust hunches that seem to come out of nowhere. They prefer to look for details and facts. For them, the meaning is in the data. On the other hand, those who prefer intuition tend to trust information that is more abstract or theoretical, that can be associated with other information (either remembered or discovered by seeking a wider context or pattern). They may be more interested in future possibilities. They tend to trust those flashes of insight that seem to bubble up from the unconscious mind. The meaning is in how the data relates to the pattern or theory.
Thinking and feeling are the decision-making (judging) functions. The thinking and feeling functions are both used to make rational decisions, based on the data received from their information-gathering functions (sensing or intuition). Those who prefer thinking tend to decide things from a more detached standpoint, measuring the decision by what seems reasonable, logical, causal, consistent and matching a given set of rules. Those who prefer feeling tend to come to decisions by associating or empathizing with the situation, looking at it ‘from the inside’ and weighing the situation to achieve, on balance, the greatest harmony, consensus and fit, considering the needs of the people involved.
As noted already, people who prefer thinking do not necessarily, in the everyday sense, ‘think better’ than their feeling counterparts; the opposite preference is considered an equally rational way of coming to decisions (and, in any case, the MBTI assessment is a measure of preference, not ability). Similarly, those who prefer feeling do not necessarily have ‘better’ emotional reactions than their thinking counterparts.
Dominant Function
Although people use all four cognitive functions, one function is generally used in a more conscious and confident way. This dominant function is supported by the secondary (auxiliary) function, and to a lesser degree the tertiary function. The fourth and least conscious function is always the opposite of the dominant function. Myers called this inferior function the shadow.
The four functions operate in conjunction with the attitudes (extraversion and introversion). Each function is used in either an extraverted or introverted way. A person whose dominant function is extraverted intuition, for example, uses intuition very differently from someone whose dominant function is introverted intuition.
Lifestyle: Judgment (J) / Perception (P)
Myers and Briggs added another dimension to Jung’s typological model by identifying that people also have a preference for using either the judging function (thinking or feeling) or their perceiving function (sensing or intuition) when relating to the outside world (extraversion).
Myers and Briggs held that types with a preference for judging show the world their preferred judging function (thinking or feeling). So TJ types tend to appear to the world as logical, and FJ types as empathetic. According to Myers, judging types prefer to “have matters settled.” Those types ending in P show the world their preferred perceiving function (sensing or intuition). So SP types tend to appear to the world as concrete and NP types as abstract. According to Myers, perceiving types prefer to “keep decisions open.”
For extraverts, the J or P indicates their dominant function; for introverts, the J or P indicates their auxiliary function. Introverts tend to show their dominant function outwardly only in matters “important to their inner worlds”. For example:
Because ENTJ types are extraverts, the J indicates that their dominant function is their preferred judging function (extraverted thinking). ENTJ types introvert their auxiliary perceiving function (introverted intuition). The tertiary function is sensing and the inferior function is introverted feeling.
Because INTJ types are introverts, the J indicates that their auxiliary function is their preferred judging function (extraverted thinking). INTJ types introvert their dominant perceiving function (introverted intuition). The tertiary function is feeling, and the inferior function is extraverted sensing.
Whole type
The expression of a person’s psychological type is more than the sum of the four individual preferences, because of the way in which the preferences interact through type dynamics and type development. Descriptions of each type can be found on the Myers & Briggs Foundation website.
There is an online personality test based on Myers-Briggs typology at HumanMetrics.
My type is ESTJ, what is yours???
Source:

