Thursday, September 30, 2010

Jabber Protocol

Hi All,

Below are the highlights of the Jabber Protocol :

• XMPP ( Extensible Messaging and Presence Protocol ) formerly named as Jabber Protocol.
• XMPP is an open, XML-based protocol originally aimed at near-real-time, extensible instant messaging (IM) and presence information, but now expanded into the broader realm of message oriented middleware.
• XMPP-based software is deployed on thousands of servers across the Internet.Popular commercial servers include the Gizmo5, Nimbuzz and Google Talk
• The XMPP network is server-based (i.e. clients do not talk directly to one another) but decentralized: by design there is no central authoritative server.However, anyone may run their own XMPP server on their own domain.The standard TCP port for XMPP is 5222.
Strengths of XMPP :-
• Decentralization: The architecture of the XMPP network is similar to email; anyone can run their own XMPP server and there is no central master server
• Security: XMPP servers may be isolated from the public XMPP network (e.g., on a company intranet), and robust security has been built into the core XMPP specifications
• Flexibility: Custom functionality can be built on top of XMPP; XMPP applications beyond IM include network management, content syndication, collaboration tools, file sharing, gaming, and remote systems monitoring.
XMPP via HTTP transport :-
• Another aspect of XMPP is the HTTP binding for users behind restricted firewalls.As the client uses HTTP, most firewalls allow clients to fetch and post messages without any hindrances. Thus, in scenarios where the TCP port used by XMPP is blocked, a server can listen on the normal HTTP port and the traffic should pass without problems.
• There are various websites which allow people to sign in to XMPP via their browser. Furthermore, there are open public servers, such as www.jabber80.com or 443.jabbear.com that listen on standard http (port 80) and https (port 443) ports and hence allow connections from behind most firewalls.
Further References:-
• http://xmpp.org/tech/overview.shtml
• http://en.wikipedia.org/wiki/XMPP
• http://tedweitz.com/harvard/cscie258/proj/docs/overview-summary.html

Wednesday, September 22, 2010

Automation Frameworks

All about AutomationFrameworks FROM IBM:

http://www.ibm.com/developerworks/rational/library/591.html

http://www.ibm.com/developerworks/rational/library/05/r-3175/


http://www.ibm.com/developerworks/rational/library/570.html


TEST Automation Frameworks:

http://safsdev.sourceforge.net/FRAMESDataDrivenTestAutomationFrameworks.htm
http://safsdev.sourceforge.net/DataDrivenTestAutomationFrameworks.htm

RRAF
http://robotframework.googlecode.com/svn/tags/robotframework-2.0.4/doc/userguide/RobotFrameworkUserGuide.html#creating-test-

cases

http://code.google.com/p/robotframework/

http://code.google.com/p/robotframework/source/checkout

http://code.google.com/p/robotframework/

http://safsdev.sourceforge.net/Default.htm

Need of Solutions Architect?

What makes a good architect
http://blog.wipro.com/blog/2010/05/20/what-makes-a-good-architect/

Here is brief from this lecture:
1) The first quality that we look for is the ability to quickly grasp complexity and simplify it. What we look for is whether the person is able to break it down to simpler steps that they can address and build a solution.
The second quality that we look for is to taking pride in the work, however small or big. In essence, interest in technology does not mean that it is meant for junior engineers only.
The third quality that is endearing to my team is the ability to “roll up your sleeves and get to work”. We never look for people who my team typically refers to as “powerpoint architects”.
The fourth quality we look for is attention to detail. Most of my team are typically connected to or work with a director or a VP level person in a client organization. Love to work at a detailed level along with having a bigger picture in hand

http://www.cutter.com/content-and-analysis/resource-centers/enterprise-architecture/sample-our-research/ear0810.html


http://msdn.microsoft.com/en-us/architecture/cc505974.aspx


Why do we need Solution Archtects?
Submitted by Andrew Winterburn on 02 Apr 2009

http://www.capgemini.com/technology-blog/2009/03/why_do_we_need_solution_archit.php

http://www.capgemini.com/technology-blog/2009/03/featured_job_role_enterprise_a.php

Introducing the Tellurium Automated Testing Framework

Introduction
The Tellurium Automated Testing Framework (Tellurium) is a framework for testing web applications, which was started in June 2007 by Jian Fang and became an open source project on Google Code in June 2008. It is released on a regular basis and is currently at 0.7.0.
The core of the project was started over two years ago and quickly spawned multiple sub-projects including: UDL, Core, Engine, Widget extensions, Maven Archetypes, Trump, Tellurium IDE, TelluriumWorks, and reference projects.
The framework was developed from the Selenium framework, but with a different testing concept. Most existing web testing frameworks, like Selenium, primarily focus on individual UI elements. Tellurium on the other hand, treats the whole UI element as a widget; calling the element a UI module.

http://www.infoq.com/articles/tellurium_intro

Tuesday, September 21, 2010

LTO: Boundary value testing: How to crash an airplane's entertainment system

Hugh Thompson has a cool blog entry on how he was able to bring down the gaming/movie console on an airplane. He calls it one of the most interesting examples of an untested boundary condition he has ever seen.
Fortunately the IFE system is totally disjoint from the avionics, so he reached Orlando without incident!

http://blogs.csoonline.com/node/151

Monday, September 20, 2010

Sogeti acquires another company

http://www.siliconrepublic.com/news/news.nv?storyid=single10670

"Irish company Insight Test Services Ltd has been acquired by Sogeti, a provider of local IT professional and test services globally. The acquisition will see Sogeti Ireland grow to 200 staff by the end of 2008. Insight Test Services is a specialist software quality assurance, test and compliance full service provider. It currently offers consulting, managed services, training and resourcing services to over 80 clients."

Support for WinRunner Tool

For those of you who have not yet received word. The End-of-Life support for all versions of WinRunner is now official as of Feb. 2008. No more new versions of WR will be released and current versions will be supported fully until 2009 and at limited bases until 2011. There is a WR to QTP conversion tool called Gallop that does about 70/80% conversion of the scripts that can be leveraged. Please cascade this information to your teams. For more information please see the link below:

https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-127-24^1074_4000_100__

Sunday, September 19, 2010

Difference between winsock and wininet level recording

On Fri, Sep 17, 2010 at 11:55 PM, James Pulley wrote:
WinInet “weighs” more in terms of oveall system resources as it is integrated with the Microsoft security APIs. The sockets option, what used to be known as Turboload, was developed to allow for lighter weight virtual users to exist in larger quantities on a given reference hardware definition (Load Generator). The core change is on playback, if you need integration with the Microsoft security infrastructure, i.e. using web_set_user() you will need to use WinInet and you will need to use Windows Load Generators. And yes, these users will use more system resources.

The default is sockets. Unless you need to integrate directly with a security infrastructure for user authentication you will likely not need WinInet. I have yet to find a reason why you would need to alter these options on the recording front from the default of capturing both. I suppose there are some exotic instances where you would want to choose WinInet or Socket but not both (see recording options web+winsock virtual user), but I have yet to encounter those.

James Pulley, http://www.loadrunnerbythehour.com/PricingMatrix

From: lr-loadrunner@googlegroups.com [mailto:lr-loadrunner@googlegroups.com] On Behalf Of Abhishek Banginwar
Sent: Friday, September 17, 2010 1:48 PM
To: LR-LoadRunner@googlegroups.com
Subject: difference between winsock and wininet level recording

hi all,

Can anyone please explain what is winsock, wininet and winsock and wininet level in http/html protocol?
winsock and wininet microsoft apis but how does it affect recording and the script that is generated.

--
Abhishek

Good Blog

http://loadstorm.com/load-testing-downloads

Friday, September 17, 2010

Script Issues with Controller

From: lr-loadrunner@googlegroups.com [mailto:lr-loadrunner@googlegroups.com] On Behalf Of James Pulley
Sent: Friday, September 10, 2010 1:48 AM
To: lr-loadrunner@googlegroups.com
Subject: RE: VUGEN vs Load Controller



Jumping back to Testing 101, if we have an expressed difference in behavior we should take a look at the test documented initial conditions, steps and inputs to see if they are identical. So, here’s where I would run to

· Initial Conditions. Is the version of your load generator software version matched to the version used for development which also matches the version of the controller?

· Do you have any differences in the membership of the load generators with respect to windows domains from the PC in which you developed the scripts?

· Can you sign onto a Load Generator and run your script without issues manually?

· Does this happen with only a single user or only under load?

· Do you have substantial differences in your infrastructure between your load generator and your application under test versus your vugen development PC and your application under test?

· Have you tested the data on your vugen development host which is in use at the time of the errors? If so, do you get a difference in behavior?

· Are you checking for returned pages with ‘continue on error’ checked? Peoplesoft is a bit oddball because all of the pages come back HTTP 200 even when an error message is present. You will need to check for content.

· I would drop down an OSI tier and go direct HTTP with URL to see if this is a more stable solution. Some place a lot of stock in AJAX scripting, but I tend to think that AJAX toolkit manufacturers are a lot cagier and faster moving than the tools which purport to support them. This applies to HP and everyone else on the planet too.

· Does this follow all user types or just one or two. If not all then it is probably not an environment issue and is related directly to something in the scripts. If all, then I would be taking a lot closer look at some of the initial software and network environmental conditions.

James Pulley, http://www.loadrunnerbythehour.com/PricingMatrix

From: lr-loadrunner@googlegroups.com [mailto:lr-loadrunner@googlegroups.com] On Behalf Of Barstow, Donald - barstodk
Sent: Thursday, September 09, 2010 1:10 PM
To: lr-loadrunner@googlegroups.com
Subject: VUGEN vs Load Controller

Hi,
We are having issues with some of our scripts not running successfully through the load controller, but are successful when running through VUGEN. Some of the errors are 403 Forbidden errors, activex errors, or java script errors. They only appear in the load controller and not in vugen. Has anyone encountered this before and have any suggestions?

LR version 9.52

PeopleTools 8.50

Ajax (Click and Script) both URL based and GUI based scripts.

Thanks,
Don
_____________________________________________
Don Barstow
Systems Analyst
James Madison University
IT/Information System
(540)568-3617 Phone
(540)568-3085 Fax

Finding text on a downloaded PDF file

Subject: RE: [LoadRunner] Finding text on a downloaded PDF file

If you want to validate a PDF as a PDF in Acrobat on the target download
machine
{
1. Install software for a GUI Virtual User
2. Update LR license for appropriate number of GUI Virtual users
3. Install Acrobat Professional on all GUI Virtual User Machines
4. Install Acrobat Professional Add-ins designed for QA and content
Validation.
5. Develop GUI Virtual user scripts leveraging Acrobat Professional
QA-related add-ins.
6. Secure lots of OS instances for your GUI Virtual User Load
}

Odds of success greater than 75%, with the added dependency of your GUI
Virtual User development skills

If you want to try and validate content in stream
{
1. Save off five of your target PDF files
2. Open the PDF files in Notepad
3. Attempt to find the string you are interested in validating
4. Ensure that the validation string is consistently represented
In all five target files
}

Odds of success, less than 5% due to encryption/compression in the PDF
stream and possible representation of the characters are curves instead of
free text.

If you want to simply validate that you have received valid PDF files
{
1. Save off five target PDF files
2. Open these five files in Notepad and observe the commonality
in structure for the first ten lines and the last ten lines
of the file.
3. Open five random PDF files on your computer (not generated by
Your system) in notepad. Observe the first ten lines and the
Last ten lines in the file.
4. From your observations, develop an algorithm for checking for
A valid PDF file (for any PDF file)
5. Implement your checks as a set of web_reg_find() statements
Combined with a post download check for file size.
If (valid PDF header && valid PDF footer and download size>
Some minimal file amount) then (we have a valid PDF)
}

Odds of success > 99%, with the added dependency of your pattern matching
skills and your C Programming skills and your use of HTTP virtual user
content validation techniques.

James Pulley, http://www.loadrunnerbythehour.com/PricingMatrix

-----Original Message-----
From: LoadRunner@yahoogroups.com [mailto:LoadRunner@yahoogroups.com] On
Behalf Of Sanjay
Sent: Wednesday, September 01, 2010 8:54 PM
To: LoadRunner@yahoogroups.com
Subject: [LoadRunner] Finding text on a downloaded PDF file

Hi All,

I am recording and enhancing a script using URL recording mode (HTTP
protocol). I have been able to use the correlation feature to handle the
variables and am almost done except for one thing.

I have a popup window which is actually a PDF file. Is there a way I can use
Reg_Find or something similar to find text on the pdf file?

Any ideas on how to handle this would be greatly appreciated.

Thanks!
Sanjay