Month: December 2013
Known performance issues in Oracle SOA Products and Oracle AIA Foundation Pack for 11g Release 1 (126.96.36.199)
These are Known performance issues in Oracle SOA Products and Oracle AIA Foundation Pack for 11g Release 1 (188.8.131.52):
- PermGen Space Out-of-Memory Error when Using the Sun JDK
- Maximum Heap Memory Size Recommendations on Windows 2008 Server
- Increasing the XA Transaction Timeout Value
- Inconsistent States for SOA Composite Application Instances in Recovery
- Google Chrome Browser Limitation on Displaying XML
- Exception: Internal Error While Activating AIAJMSSERVER (JMS Server)
- Dequeuer Returns the Same Message in High Concurrency Environments with Oracle Database 11.2
- Default/Last Active Revision of a Composite Is Not Identified When Retiring All Composites in a Partition.
For more information visit : http://www.oracle.com/technetwork/middleware/docs/aiasoarelnotesps6-1866030.html
Loadtesting Websphere IBM MQ server using JMETER
For Loadtesting Apache Active MQ , JMS-Point-to-Point sampler in Jmeter will help us. Think that you do not have JNDI settings and no apache activemq for JMS messaging, instead IBM Websphere MQ is in place. One day your manager is coming and asking you to test IBM MQ using open source testing tool as they do not ready to pay for small scale performance testing.
In that case , here is the steps to use Jmeter to load test IBM Websphere MQ.
The content here is pretty much precious and definitely it will save your valuable time 🙂
- Below are the Java and MQ jars needed. Download these jar files and place it under Jmeter’s libext directory. ‘jmeter-jms-skip-jndi-0.0.1.jar‘ is the jar contains the MQ declaration and coding to connect it. You can down it from the URL : ‘http://www.java2s.com/Code/Jar/j/Downloadjmeterjmsskipjndi001jar.htm‘
- Open Jmeter -> File-> New->TestPlan -> Add Thread Group
- Under Thread Group add Samplers->JMS Point-to-Point Sampler and configure the parameter. As given in the below Screenshot.
- Run Jmeter Script and Enjoy IBM MQ load testing .
TOP 15 Reasons why you can use jmeter for performance testing
- Jmeter is an open source tool.
- There seem to be more cost saving for MQ ,SOAP,FTP protocols when considering other proprietary tools in the market.
- Customized/Specialized reports are given in proprietary tools to attract the end users. Jmeter has simple reports and it will be helpful to analyse the server logs and get into the root cause of the performance issue. So if you do not want Grand UI reports , Jmeter will save more money from you pocket.
- User friendly UI.
- All the components are pre-built and readily available for use. Even the person who is not much comfortable with coding can understand and script in jmeter.
- Test can be executed in NON-GUI mode to save the machine resources.
- You can extend or write the new samplers in java and it can be included in jmeter.
- You can send the files with the request using simple configuration.
- It is easy to run multiple users (1000 User logins in ~2GB system) without worrying license cost.
- Simple and effective session correlation for a web application.
- You can run multiple scripts consecutively(One at a time) , also all at a time (concurrently)
- Response time results can be exported to CSV.
- Assertions will help to validate the response from the server easily.
- You can send JSON string and test JSON response for HTTP request.
- Various timers are there to introduce the delay concept
What’s a cron and crontab?
Cron is a a time-based job scheduler in Unix/Linux environments. Cron can be used to schedule jobs to run periodically at fixed times, dates or intervals. Crontab is a configuration file that specifies shell commands to run periodically on a given schedule.
Users can have their own individual crontab files and often there is a system wide crontab file (usually in
/etc or a subdirectory of
/etc) that only system administrators can edit.
MIN HOUR DOM MON DOW <command to execute>
- MIN =Minute(0-59)
- HOUR =HOUR(0-23)
- DOM =Day Of Month(1-31)
- MON =Month(1-12)
- DOW =Day Of Week(0-6)
How to view crontab entries?
To view current user’s crontab, use “crontab -l“
To view other user’s crontab, login as root and give “crontab -u sam -l”
How do I edit crontab entries?
We can issue “crontab -e” for adding or editing crontab entries.
Finding the number of lines of unique string in a file for specific duration- Linux
One day , I gone though a scenario where I have to count the number of lines of error string in a file for specific duration in the linux server using single command. I require it as I will be repeating it for multiple iterations of testing cycle.
As I did not have much experience in linux commands , I spent more time in browsing various web pages and finally I was able to join the commands in order to get one line command.
I think this might be useful to many testers like me
Linux command for finding number of lines of unique string in a file for specific duration:
sed -n ‘/2013-12-24 20:20:00/,/2013-12-24 23:59:59 /p’ logfile.log | grep ‘error’ | wc -l
Or you can use this as well for quick view,
grep -i ‘error’ filename.log
Here You can update any string that has to be searched in grep ‘error’
Ubuntu and Android dual boot developer preview
Ubuntu has announced a preview for developers: Ubuntu on mobile devices can run along side with android, yes your mobile can be dual booted. Ubuntu has informed that Dual boot is not a feature suitable for regular users. It is recommended to be installed only by developers who are comfortable with flashing devices and with their partition layout. Dual boot rewrites the Android recovery partition and those installing it should be intimately familiar with re-flashing it in case something goes wrong.
Multiple Android flavours are supported (AOSP or stock, CyanogenMod) and installation of Ubuntu can be done for all versions available in the phablet-flash channels.
Easy OS switch via apps
With dual boot, switching between OSs had never been easier. No more key combinations or command line interfaces to jump into the next OS: on each side, an app with a simple user interface will enable you to boot back and forth at the tap of a button.
The Android app manages the initial installation of Ubuntu, upgrades and rebooting into Ubuntu.
On Ubuntu, the dual boot app provides an easy way to reboot into Android.
Installing dual boot
Installing and running dual boot can be done in a few easy steps. In a nutshell, it requires performing a one-off installation of the dual boot app in Android, which will enable you to both install the version of Ubuntu of your choice, and to reboot into Ubuntu.
Honda Made the World’s First Smartphone Case With an Emergency Airbag
It looks like Honda has create a Smartphone Case with an emergency Airbag, Watch this cool video.