Role of Cloud Testing in Applications

QA

All business applications are now becoming more dynamic and component-based. Industries are now shifting towards cloud computing for better productivity. But to ensure the functionalities of these cloud-based applications, Cloud testing plays a major role in the Cloud industry. 

Cloud testing is the testing processes which are executed with the use of cloud resources. It is helpful when the testing process includes many test machines like several workstations for load testing. It is also helpful while testing application that operates over a LAN or the Web like on a client’s server.

Now let’s take a look at some of the major requirement of Cloud testing

  • Sufficient test models and criteria

QA engineers should be provided with sufficient test models and criteria that support cloud and web application testing. These test models and criteria should be in areas like SaaS and Cloud-based application. This scalability model is used to validate or measure the performance of the system. It also requires Integration models and criteria to address cloud-based connectivity protocols and APIs for end-to-end application integration across the cloud.

  • Proper test methods and solutions

The requirements and features of cloud applications are in continuous change, for which it requires newer test methods and solutions. Methods like continuous validation and regression testing solutions for the applications which change continuously due to bug fixing and feature updates. Application tester should also be given automatic testing facilities for the multi-lease feature of cloud computing.

At Andolasoft we have expertise team of quality annalist and testing engineers with strong market specific testing experience to provide extensive Quality Assurance services throughout the product life-cycle. We also execute cloud-based testing to provide the best in quality product services.

 

CloudLinux’s Recent Integration of PHP 5.5 Alpha 2 Version

Shared hosting operating system provider CloudLinux has expanded their PHP offerings by declaring the availability of PHP 5.5 Alpha2 version to its PHP selector tool.

With the ability to select PHP versions, PHP selector allows the users to get the latest feature updates

and preferred PHP version like PHP 5.2, 5.3, 5.4, and now, 5.5 Alpha2 from their web hosting control panel. CloudLinux places each individual website in a virtual private server.

Never miss an update from us. Join 10,000+ marketers and leaders.

Each account is then assigned a specific amount of hardware resources and a desirable PHP version, by using the PHP selector tool.

PHP 5.5 Alpha2 version includes new features like the most awaited password hashing API and providing users the ability to use bcrypt along with loop-controlling generators.

Igor Seletskiy the CEO of CloudLinux has expressed that the availability of PHP selector has made it easier to get access to PHP features. He quoted “PHP is possibly the most widely used aspect of any shared web hosting plan.”

Igor Seletskiy also added “Like the rest of the web hosting community, we are excited to start exploring the new features of PHP version 5.5.

However, many hosting companies and their customers would not usually deploy an Alpha version on a large-scale, server-wide basis.

CloudLinux and PHP Selector make it possible for hosting providers to assign individual accounts their own PHP version without affecting other sites on the same hardware.” Integrating such features in CloudLinux has helped PHP development to become easier and more productive

Share your memories instantly with Andolapic

Andolapic iOS APPIf you like to take photos, you would like to share them as well. There are numerous apps available, which let you share your photos with your friends and this photo-sharing trend is at its pinnacle nowadays.

Andolapic a photo-sharing iPhone app developed by Andolasoft which offers interesting features to help you share your memories with your friends.

Andolapic is quite amazing like Instagram and features intriguing functionality to improve your photo sharing experience.

To make photo sharing even easier it is built on top of social photo-sharing app which lets you share photos instantly with your friends.

Some of the features of Andolapic are:

Snap & Share: You don’t have to wait, to click and share your photos. Photos are shared instantly, the moment you take a snap from Andolapic.

Follow and Un-follow: Follow your friends whose photos you want to see and comment. Un-follow if they are clogging photos which are most undesirable.

Post, Like and Comment: User can Post photos, like friend’s photos, and leave comments easily.

Upload and Remove Pics: Upload photos through Andolapic and remove them if you don’t like it to be visible. We’ve also developed it for the iPad for more convenience. Andolapic is also available to Facebook users to share photos directly from Facebook.

Andolapic is one of the best photo sharing apps in the market which gives you amazing photo sharing experience and is a marvel of iPhone application development. You can get it from iTunes.

How To Send Files To Remote Server Via SSH In PHP

You may have faced a situation where you need to send server files to a remote server. If you are working on a website that requires remote server access and files regularly, it is impossible to keep on transferring the file every time they are updated.

This means that you cannot keep these files in your local system and need to transfer them to the remote server only when they’re updated. To do this, you will need SSH access to the server so that you can send files securely via SFTP or any other secure file transfer protocol.

Once you learn how to set up SSH access, there are some things that you need to know about how SSH works and how it’s used with different servers.

Never miss an update from us. Join 10,000+ marketers and leaders.

This example describes ‘How to SSH to remote server in PHP and send files from one server to another server using libssh2.’

ssh2_connect() – Connect to a remote server
ssh2_scp_send() – Send a file via SSH
ssh2_exec() – Execute a command on a remote server

Install libssh2 and then install PECL SSH2 extension for PHP.

Example:   

$ip = "192.168.2.101";
$username = "test";
$port = 22;
$public_ssh_key = "/var/www/html/ssh_keys/id_dsa.pub";
$private_ssh_key = "/var/www/html/ssh_keys/id_dsa";
 
if(function_exists("ssh2_connect")) {
$ssh_conn = ssh2_connect($ip, $port);
if($ssh_conn) {
//Validate your username with ssh keys
if(ssh2_auth_pubkey_file($ssh_conn, $username, $public_ssh_key, $private_ssh_key, 'secret')) {
 
// Check file list
$stream = ssh2_exec($ssh_conn, 'ls -l /home/test/');
if($stream) {
stream_set_blocking($stream, true);
while ($buf = fread($stream,4096)) {
flush(); // comment this line
$data.=$buf;
print_r($buf); // comment this line
}
fclose($stream);
}
 
// send file from one server to another
ssh2_scp_send($ssh_conn, '/path/from/file.ext', '/home/test/file.ext', 0777);
 
}
else {
die("SSH validation failed using Username: ".$username." (specify valid SSH keys or check your SSH key path)");
}
}
else {
die("SSH validation failed for IP: ".$ip);
}
}
else {
die("'ssh2_connect()' doesn't exists. Install libssh2 with PECL SSH2 extension");
}

Other commands:

ssh2_sftp() – Initialize SFTP subsystem
ssh2_sftp_mkdir()– Create directory on remote server

$sftp = ssh2_sftp($ssh_conn);
ssh2_sftp_mkdir($sftp, '/var/www/html/test');

ssh2_auth_password()  – Authenticate over SSH using a plain password
ssh2_auth_pubkey_file() – Authenticate using a public key
ssh2_shell() – Request an interactive shell
ssh2_tunnel() – Open a tunnel through a remote server

The Largest Selling Smartphone in USA Irrespective of Some Flaws

iphoneSince the release of the iPhone 5 and iOS 6, Apple has received mixed reviews for its new operating system as well as the iPhone 5 design.

But it has turned out to be the most popular smartphone in US, Apple has managed to gain around 48% of US market share from the iPhone5. Despite of some faulty applications, iPhone is still popular in US.

New features like a faster processor, taller screen, and slimmer design have definitely played a crucial part in driving the iPhone’s success to nearly half the share in the United States.

Surveys reveal that customer loyalty is also the reason behind Apple’s profound hold on the US market.

Besides the hardware updates, there are other features like Siri, cloud integration with the safari, and Facebook photo-sharing integrations, which works seamlessly with the device.

As expected, the Retina Display is pretty staggering and the A6 chip has improved the performance and speed to a great deal.

With the introduction of iOS6,iPhone application developers have found a better opportunity to explore more features and customization of their codes.

Since its first release, developers around the world are trying to develop applications for iOS6. The Retina display, taller screen, and faster A6 processor allow developers to create stunning applications with high-resolution images and complex functionalities.

Even though Apple’s Map App is filled with flaws and still remains unfixed, it seems to have no effect on iPhone lovers in the US. They solved the problem by using Google Maps instead of Apple’s native navigation app.

itunes-logo

 

 

 

We at Andolasoft develop exquisite iPhone and iPad apps for iOS6 devices. Our experienced iPhone developers use the latest resources to create apps that are engaging and fun. Our apps are rigorously tested to ensure no flaw exists.

Along with development we also release updates for our applications with each improvement in UI and functionalities.  Some of our apps are showcased in App Store which can be downloaded for FREE.

How to create a form page in Refinery CMS app

Refinerycms

Refinery is a powerful CMS based on Rails framework. It gives a fully generated site with admin control features. However, we can extend it to create our own customized forms like Job Inquiry, Contact Us etc… by following this tutorial. Here is the environment we have used on this tutorial.Ruby 1.9.3, Rails 3.2.8 & RefineryCMS 2.0.8

Step#1

Cd to refinerycms application

Execute the following command to get all the options & usages to create a form engine in refinery CMS

rails g refinery:form

Step#2

Execute the following command to create a form. Let’s create a Job Inquiry form

rails generate refinery:form job_inquiry name:string message:text job_type:radio brochure:checkbox qualification:select

Step#3

Run the following commands

bundle install
 
rails generate refinery:job_inquiries
 
rake db:migrate<code></code>
 
<code>rake db:seed<code>

ss

This will create a “job inquiry” engine in the “vendor/extensions” folder

Step#4
Add the “job type” and “qualification” data in the “/vendor/extensions/job_inquiries/app/models/refinery/job_inquiries/job_inquiry.rb” model. You can also add other fields as per your requirement.

module Refinery
module JobInquiries
class JobInquiry < Refinery::Core::BaseModel       self.table_name = 'refinery_job_inquiries'       attr_accessible :name, :message, :job_type, :brochure, :qualification, :position       acts_as_indexed :fields => [:name, :message]
# Add some validation here if you want to validate the user's input
# We have validated the first string field for you.
validates :name, :presence => true
JOB_TYPES = ["Freelance", "Fulltime", “Contract”]
QUALIFICATIONS = ["MCA", "MTECH", "BTECH"]
end
end
end

Step#5

Restart the rails server to get the effect

That’s it! We will have a fully functional Job Inquiry form attached in our refinery application. This will also add the following functionalities automatically.

  • Mail send feature to Admin after submitting the job inquiry form
  • Auto email respond functionality to the user after submitting the form
  • Adds Job Inquiry menu in the Admin side to manage auto email respond message, mail id change to get job inquiry
  • Adds an Inbox in the Job Inquiry Menu for Admin to manage all the forms submitted through the Job Inquiry form

SEE ALSO: Creation of a new Rails App using Refinery CMS

If you have any other tips or rules that you follow, let us know in the comments below.