Distributed Load Testing Tool
Hi Folks,
Let me analyze of how distributed load testing can be done with a handy tool, AdventNet QEngine 6.9. As quality matters everywhere high attention has to be paid in those areas. As far as an application, few metrics have to taken into account before delivered into the market. Response time analysis and load capacity of the application must be done. We cannot make calculation over rough paper for these metrics manually everytime. Suppose if the application is to be tested with load capacity of 5 users, we can try for it. What happens when we need to load test the application for 1000 or 10000 users?. Testing tool like LoadRunner, QEngine, Neoload etc., can be helpful in this scenario. QEngine costs low comparing with other competitors. The tool is user-friendly too. Let me analyze on the tool QEngine of how to distribute the load test of your application in your environment. Let us assume, you have purchased the license of 5000 Virtual User on QEngine and you have to test your application with 5000 user load. You cannot go with testing such high load on a single server machine. You can install the license on the server machine and the virtual user load can be distributed through several machines(Agents). The recommended Virtual user configuration from QEngine for a 1GB machine is 500 virtual users. The agent has to be configured in the server machine with their IP address and Load test user credential. The Distributed agent has to be started from the configured agents by selecting the ‘Start -> Programs >AdventNet QEngine WebPerformance -> Start Distributed Agent’.After starting the distributed agents in all agents, the application which was recorded previously configured with Virtual user specification can be load tested by hitting the ‘Start Load Test’ button.
Hope this discussion help you,
Comments are welcomed…!
Sending Mail with attachment through JavaMail
Hi Folks,
In this article, am going to give you a sample program to send an email with attachment through JavaMail API in java program. You should have JavaMail and JavaBeans Activation Framework(if needed) to make work this program. JAF is needed when you have the JDK installed other than the version 1.6 or more. JAF is bundled with JDK1.6 and for those who use the older version can follow the download file reference link available here. JavaMail download reference link can be followed by clicking here. When you extract both these downloaded zip file, you can have the jar files named ‘activation.jar’(from JAF) and ‘mail.jar’(from JavaMail). Place these two jar files under the ‘lib’ folders of the JDK installation directory and also make the reference of these two jar files to the classpath environment variable.
I here with inline the java program to send mail with attachment.
import java.util.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
public class MailWithAttachment
{
public static void main(String[] args)
{
try
{
java.util.Properties mailprop = new java.util.Properties();
String host = "smtp";
String fromAddress = "test@enpysoft.com";
String toAddress = "muthuselvan@adventnet.com";
String filename = "c://npselvan//invitation.tiff";
String subj = "Invitation";
String content = "Hi Friends!,\n\tI cordially invite you all guys for the seminar.\n\nRegards,\nNpselvan.";
mailprop.put("mail.smtp.host",host);
Session session = Session.getInstance(mailprop,null);
MimeMessage message = new MimeMessage(session);
message.setFrom(new InternetAddress(fromAddress));
message.addRecipient(Message.RecipientType.TO,new InternetAddress(toAddress));
message.setSubject(subj);
MimeBodyPart mbp1 = new MimeBodyPart();
mbp1.setText(content);
MimeBodyPart mbp2 = new MimeBodyPart();
FileDataSource fds = new FileDataSource(filename);
mbp2.setDataHandler(new DataHandler(fds));
mbp2.setFileName(fds.getName());
Multipart mp = new MimeMultipart();
mp.addBodyPart(mbp1);
mp.addBodyPart(mbp2);
message.setContent(mp);
message.setSentDate(new java.util.Date());
Transport.send(message);
}
catch(Exception e)
{
e.printStackTrace();
}
}
}
Hope the above program could fetch idea to the beginners of Java.
Comments are Welcomed..!
A website for UI Designers.
Hi All,
Am not well-versed with color management and CSS in my development. I will be seeking the help of Google for every such kind of works. I surfed for any such tools and i came across the website named fonttester. Click here to have a look on the webpage. The website was really amazing, as the CSS properties will be listed down in the left pane and the subsequent changes made to the CSS properties will be reflected in the right pane message content. You can go ahead and have a look on it. Hope this web page can guide and help the Usability engineers.
Comments are Welcomed..!
QEngine Web Load Testing
Hi All,
Testing is the vital thing for every product/project and meanwhile performance should also to be taken in to account before the project/product to be delivered. AdventNet has one such product to test the web performance. If your application is on web based and through HTTP and HTTPS protocol, you can go ahead with testing your application with load testing tool, AdventNet QEngine. How was your application responding when ‘n’ number of users are accessing your service? AdventNet QEngine come out with very powerful feature and more over the product cost is less compared to some other testing product. QEngine is also releasing their subsequent release over periodic time. QEngine Web Load Testing tool have some load testing types. You can test your application with ramp-up mode, ramp-down mode, normal mode, burn-in mode and mixed load type mode. You can go through their online help link on the website. Moreover a couple of weeks evaluation time is given with the product and the support is given free during your evaluation. Go ahead and download the product and test your application.
Comments are Welcomed..!
How to take a screenshot in JAVA…
Hi all,
Let us see how to take screenshot and save it as a JPG file with the use of Java Program. It can be acheived by the use of ImageIO API for saving the screenshot as the JPG file and to take screenshot with the Robot class. So as to proceed further, first the screen dimension should be find and we can create a rectangle with this dimension. The size of the screen can be found using the Toolkit class. The following code snippet will help you to find the screen size.
//to find the screen dimension
Toolkit toolkit = Toolkit.getDefaultToolkit();
Dimension screenSize = toolkit.getScreenSize();
Rectangle rectangle = new Rectangle(0, 0, screenSize.width, screenSize.height);
After getting the screen dimension create an instance of the Robot class and copy the rectangle from the screen. The createScreenCapture() method in the Robot class can be used to get the BufferedImage of the rectangular dimension passed as argument to it. The following code snippet will help you to do the above said things.
//to get the BufferedImage with createScreenCapture method
Robot robot = new Robot();
BufferedImage image = robot.createScreenCapture(rectangle);
So further creating the JPG file from the BufferedImage is possible through the ImageIO API to convert the BufferedImage to the JPG file. The following code snippet will help you in converting the BufferedImage to a JPG file
//convert BufferedImage to JPG File
File file = new File(“screen.jpg”);
ImageIO.write(image, “jpg”, file);
Comments are Welcomed…!
Competitor to Microsoft Powerpoint
Hi all,
I am going to analyse the presentation tool, Zoho show, a product among the Zoho Online Suite. It comes out with lucrative features and provide user with ease of mind. The Zoho products are coming out with updation in regular intervals of time. This presentation tool enables user to control the time delay between the alternate slides efficiently. For your reference attached the following frame to analyse on the tool. Cool, the product is coming out as a free tool.
Comments are Welcomed…!
Protecting your Folder from Unauthorized User
Hi all,
Perhaps all might be need to safeguard certain confidential matters in their computers. And almost plenty of softwares are available in the market to serve you. Some might be freeware and someother might demand you to pay for their softwares. Why not make use of Disk Operating System for this command?(which is almost inbuilt in IBM based computers). Let me describe how to safeguard your folder view from unauthorised users. Suppose you need to keep the folder ‘Confidential’ in the ‘D’ drive to be unviewable to others. So just go for the command prompt(Start->Run->command) and proceed upto the parent directory of the folder you need to protect for. Type the following command : ‘attrib “<folder name>” +R +A +S +H’ (ie., attrib confidential +R +A +S +H). Go and check for the folder ‘Confidential’ and you could not find it. You can check in the command prompt too. And to renew this folder just type again: attrib “<folder name>” -R -A -S -H.
Let me discuss on the pros and cons of making use of it.
pros:
-
You can protect the folder from unauthorised access
-
You could not able to delete the folder unless remove the attribute constraint
cons:
-
Though folder name in not avail in the list of command prompt, when just using the Tab key to search for folder in command prompt, it would display it.
-
When you forget the protected folder, you could not able to predict the folder from the list of folders on pressing TAB key of Change Directory (CD) in command prompt
Hope the above post will be helpful to you.
Comments are Welcomed…!
Social Network Web Page – Meebo
Hi all,
Social Networking on web is the latest trendz to connect with the friends. Almost sharing of information is quite easy nowadays. Many web pages had been developed to share photos, videos etc. Why do we need to have seperate yahoo messenger, google talk, msn messenger and everything to connect to your friend list? Are you expecting the only one application to connect with all above account users. Yeah I assure meebo would be the best choice for textual sharing of data. This is a web2.0 standard webpage. The main benefits of the meebo is it let us to login with multiple accounts and chat with friend list on all accounts. Meebo is also providing the widget as a free service for their account holders.Meebo widgets can be embedded into your web page and your availability can be known through widgets. Also provided with an option to customize the widgets. It enable the users to send the instant message to the account holder. They could chat if the account holder is in online or else the message will be delivered at offline. So try for Meebo and have fun.
Comments are Welcomed…!
-
Archives
- August 2009 (1)
- June 2009 (1)
- April 2009 (4)
- November 2008 (1)
- October 2008 (3)
- March 2008 (1)
- September 2007 (1)
- August 2007 (5)
- July 2007 (21)
-
Categories
-
RSS
Entries RSS
Comments RSS