Categories
General technews

Quest Visual is joining Google!

Quest Visual, the maker of the incredible Word Lens app, posted on its website that it has been acquired by Google.

 

Quotes from wordlens website

With Word Lens, we’ve seen the beginnings of what’s possible when we harness the power of mobile devices to “see the world in your language.”

By joining Google, we can incorporate Quest Visual’s technology into Google Translate’s broad language coverage and translation capabilities in the future.

As a thank you to everybody who supported us on our journey, we’ve made both the app and the language packs free to download for a limited time while we transition to Google.

We’re looking forward to continuing our work at Google – stay tuned!

Android Word Lens Translator

Categories
Android

MOTO E supported under motorola Bootloader Unlock program

Motorola has made MOTO E boot loader unlock option official. MOTO E has popped up in Bootloader unlock program supported list.

Supp-motoe.PNG

 

 

 

 

Bootloader is a little bit of code that tells your device’s operating system how to boot up.  

If you are a developer, unlocking the bootloader will allow you to customize your device, but keep the following in mind:

 

 

 

  • You will lose all media and content on your device and will need to reinstall all applications downloaded from Google Play.
  • Applications may not work anymore.
  • You may lose encryption support.
  • You may lose some key functions like telephone, radio, and audio playback.
  • You could cause permanent/physical damage to your device.
  • Unlocking your bootloader will not change your device subsidy lock status

For more information on Unlocking your device visit moto website

 

Categories
Android

Android secret codes

Here are the list of  Samsung and HTC android phone codes

 

SAMSUNG CODES Description
*#*#4636#*#* Displays Phone information, Battery information , Usage Statistics, Wifi Information
*#*#7780#*#* Restting your phone to factory state-Only deletes application data and applications
*2767*3855# It’s a complete wiping of your mobile also it reinstalls the phones firmware
*#*#34971539#*#* Shows completes information about the camera
*#*#7594#*#* Changing the power button behavior-Enables direct poweroff once the code enabled
*#*#273283*255*663282*#*#* For a quick backup to all your media files
*#*#197328640#*#* Enabling test mode for service activity
*#*#232339#*#* OR *#*#526#*#* Wireless Lan Tests
*#*#232338#*#* Displays Wi-Fi Mac-address
*#*#1472365#*#* For a quick GPS test
*#*#1575#*#* A Different type GPS test
*#*#0283#*#* Packet Loopback test
*#*#0*#*#* LCD display test
*#*#0673#*#* OR *#*#0289#*#* Audio test
*#*#0842#*#* Vibration and Backlight test
*#*#2663#*#* Displays touch-screen version
*#*#2664#*#* Touch-Screen test
*#*#0588#*#* Proximity sensor test
*#*#3264#*#* Ram version
*#*#232331#*#* Bluetooth test
*#*#7262626#*#* Field test
*#*#232337#*# Displays bluetooth device address
*#*#8255#*#* For Google Talk service monitoring
*#*#4986*2650468#*#* PDA, Phone, Hardware, RF Call Date firmware info
*#*#1234#*#* PDA and Phone firmware info
*#*#1111#*#* FTA Software version
*#*#2222#*#* FTA Hardware verion
*#*#44336#*#* Displays Build time and change list number
*#06# Displsys IMEI number
*#*#8351#*#* Enables voice dialing logging mode
*#*#8350#*#* Disables voice dialing logging mode
##778 (+call) Brings up Epst menu
HTC CODES Description
*#*#3424#*#* HTC function test Program.
*#*#4636#*#* HTC Info menu
*#*#8255#*#* launching GTalk Service Monitor
##3424# Diagnostic mode.
##3282# for EPST.
##8626337# for VOCODER
##33284# Field trial menu.
##786# Reverse Logistics Support.
##7738# Protocol Revision.
Categories
General Linux

How to enable telnet in a Linux server?

Telnet is a network protocol, used to provide bi-directional text-oriented communication facility.

Note: Telnet in is insecure protocol and it is recommended that you use ssh server. 

WARNING! Installing telnet on your server makes the server open to an un-encrytpted communications, it’s not recommended to use telnet, use Secure (SSH).

Telnet Server installation

In Debian/Ubuntu
user@techinx$ sudoapt-get install telnetd
In fedora/RedHat
root@techinx# yum install telnet-server telnet xinetd

Configure telnet server (turn on telnet server)

If you are using Red Hat / Fedora Linux
The configuration file for telnet is /etc/xinetd.d/telnet. To enable telnet server you need to open this file and make sure disable = no read as disable = yes.
Alternately,
root@techinx# chkconfig telnet on
To start telnet server type command:
root@techinx# /etc/init.d/xinetd restart

How to enable root login from telnet server

Edit /etc/securetty file, In the end of file add pts/0 to enable one telnet session for root. if you need to open more telnet session for root and add more pts/1 pts/2 and so on.

Restart services, you are done!.

Categories
Performance Testing

How to run overnight endurance test consecutively using jmeter

Endurance Test:

Performing a long run load test and finding the performance bottleneck of the given server is called Endurance Test.

Often in performance testing  testers would face the following 2 scenarios,

1) Running single testplan for more than 8 hours

2) Running Multiple testplans one after another for more than 8 hours or overnight (without much of manual effort, just click run and go , take the report in the next day morning )

So what is the method of implementing the above 2 scenarios? Here is my suggestion though it depends entirely on your workload model requirement.

Scenario1:

To Run a single testplan ,

a) first calculate the hours that your test has to run in milliseconds

b) Add constant timer/uniform random timer to the samplers wherever it is required to pause the run and release it together.

c) Divide the time that you have in milliseconds from step #a , and put it in each timer.

d) Now Run the Test and make your life easy 🙂

jmee1

 Scenario2:

Here it comes a simple feature and readily available in our Iron Man, JMETER.

a) Put all your thread groups under single test plan.

b) Right click on Testplan and check ‘Run Thread Groups consecutively’

jmeter2

 Happy testing 🙂 🙂 🙂

Categories
Performance Testing

How to execute Linux command or shell script from APACHE JMETER

linux1

linux1Sometimes it is necessary for the load test to send a Linux command to verify the content/file exists in the remote Linux server. Every time it is not a fair idea to connect remote server by file server browsers like WinSCP, putty etc… as it is a load test. In such situations, JMETER offers a sampler called ‘SSH sampler’. This sampler is introduced to communicate with the Linux server over the ssh shell. It will be definitely useful for both Functional and Performance Testers.

Apache Jmeter’s SSH Sampler:

A sampler which will connect to a Linux server and execute Linux commands

Steps in detail:

1) Download SSH Sampler plugin from google’s website
https://code.google.com/p/jmeter-ssh-sampler/
2) Copy the jar to your local Apache Jmeter’s “lib/ext” folder.

3) Download “jsch-0.1.51.jar” and place it in your local Apache Jmeter’s “lib/” folder.

4) Open Jmeter-> ThreadGroup->Samplers-> SSH Command

5) Give hostname, username, password and the Linux command to be executed

6) Run Jmeter

7) Capture results in ‘View Results Tree’

Here is the image for your reference:

test

Categories
Linux

Unable to install IBM Installation Manager on RHEL 6.* (64-bit)

There was an issue, with IBM installation manager not able to install or start in RHEL 6.* series. This issue is fixed by IBM and is available in Fix central for download. The fix name is agent.installer.linux.gtk.x86_64_1.6.0.20120831_1216.

If you are using the old IBM installation manager, during install you may face errors like this.

[root@rhel64]# ./install
bash: ./install: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

Cause:

Installation Manager is a 32-bit application and requires 32-bit versions of OS system libraries. These libraries are not installed on RHEL 6.0/6.1 x86_64 (64-bit) by default. You must install these 32-bit libraries on your system before you run Installation Manager.

Solution:

Configure yum on your server, install the required 32bit binaries.

To configure yum on your server refer here https://www.technix.in/local-yum-setup-for-rhel/

after the yum configuration install the dependent 32bit binaries as shown below.

[root@localhost]# yum install gtk2.i686
[root@localhost]# yum install libXtst.i686
[root@localhost]# yum install compat-libstdc++

Once the install is complete. IBM installation manager installation can be proceeded as normal.

 

Categories
Linux

How to use proxy server from Linux terminal

In Linux/Unix there is an environment variable called “http_proxy” which can be configured for text based internet sessions.  This variable is used by wget, curl, lynx etc.

How to set http_proxy variable

Type the following command to set proxy server

#export http_proxy=http://10.99.2.197:8080

 How to set the http_proxy variable globally

#vi /etc/profile

add the following lines.

#export http_proxy=http://10.99.2.197:8080

 How to I use a password protected proxy while using command line internet

#curl --proxy-user <username>:<password> www.technix.in

 

 

Categories
testing

What’s WSDL?

Web Service Definition Language in short WSDL is an XML format for describing network services as a set of endpoints operating on messages containing either document-oriented or procedure oriented information.

WSDL is a

  • XML document written to describe a web service.
  • It specifies the location of the web service and the operations or methods the web service exposes.

A WSDL document uses the following elements in the definition of network services (Web services)

  • Types – a container for data type definitions. This describes the data. The XML schema Language(Known as XSD also) is used for this purpose.
  • Message – an abstract, typed definition of the data being communicated. The contains the information needed to perform the operation.
  • Operation – an abstract description of an action supported by a service. This defines the actions and the way the message is encoded.
  • Port Type – an abstract set of operations supported by one or more endpoints.
  • Binding – a concrete protocol and data format specification for a particular port type. Defines the interface and the binding style.
  • Port – a Single endpoint defined as a combination of a binding and a network address. It defines the address or the connection point to a web service.
  • Service – a collection of related endpoints
Representation of concepts defined by WSDL 1.1 and WSDL 2.0 documents.
Representation of concepts defined by WSDL 1.1 and WSDL 2.0 documents.

WSDL 1.2 has been renamed to WSDL 2.0,  because of the major differences, like

  • Removed message constructs.
  • Operator overloading not supported.
  • PortTypes renamed to interfaces.
  • Ports renamed to interfaces.
  • Added further semantics to the description language. 
<?xml version="1.0" encoding="UTF-8"?>
<description xmlns="http://www.w3.org/ns/wsdl" 
             xmlns:tns="http://www.tmsws.com/wsdl20sample" 
             xmlns:whttp="http://schemas.xmlsoap.org/wsdl/http/"
             xmlns:wsoap="http://schemas.xmlsoap.org/wsdl/soap/"
             targetNamespace="http://www.tmsws.com/wsdl20sample">

<!-- Abstract type -->
   <types>
      <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
                xmlns="http://www.tmsws.com/wsdl20sample"
                targetNamespace="http://www.example.com/wsdl20sample">

         <xs:element name="request"> ... </xs:element>
         <xs:element name="response"> ... </xs:element>
      </xs:schema>
   </types>

<!-- Abstract interfaces -->
   <interface name="Interface1">
      <fault name="Error1" element="tns:response"/>
      <operation name="Opp1" pattern="http://www.w3.org/ns/wsdl/in-out">
         <input messageLabel="In" element="tns:request"/>
         <output messageLabel="Out" element="tns:response"/>
      </operation>
   </interface>

<!-- Concrete Binding Over HTTP -->
   <binding name="HttpBinding" interface="tns:Interface1" 
            type="http://www.w3.org/ns/wsdl/http">
      <operation ref="tns:Get" whttp:method="GET"/>
   </binding>

<!-- Concrete Binding with SOAP-->
   <binding name="SoapBinding" interface="tns:Interface1" 
            type="http://www.w3.org/ns/wsdl/soap" 
            wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/"
            wsoap:mepDefault="http://www.w3.org/2003/05/soap/mep/request-response">
      <operation ref="tns:Get" />
   </binding>

<!-- Web Service offering endpoints for both bindings-->
   <service name="Service1" interface="tns:Interface1">
      <endpoint name="HttpEndpoint" 
                binding="tns:HttpBinding" 
                address="http://www.example.com/rest/"/>
      <endpoint name="SoapEndpoint" 
                binding="tns:SoapBinding" 
                address="http://www.example.com/soap/"/>
   </service>
</description>

 

Example WSDL

Categories
Performance Testing testing

Websphere MQ

As per IBM notes

IBM WebSphere MQ can transport any type of data as messages, enabling businesses to build flexible, reusable architectures such as service-oriented architecture (SOA) environments. It works with a broad range of computing platforms, applications, web services and communications protocols for security-rich message delivery. WebSphere MQ provides a communications layer for visibility and control of the flow of messages and data inside and outside your organization.”

WebSphere MQ provides:

  • Versatile messaging integration from mainframe to mobile that provides a single, robust messaging backbone for dynamic heterogeneous environments.
  • Message delivery with security-rich features that produce auditable results.
  • High-performance message transport to deliver data with improved speed and reliability.
  • Administrative features that simplify messaging management and reduce time spent using complex tools.
  • Open standards development tools that support extensibility and business growth

More details can be availed from IBM website

dist_400px

 

 

 

 

 

 

 

 

For more information on Load testing IBM Websphere MQ using Jmeter check here.