Reggio Calabria, Italy
+39 0965 894009
roccoantonio.zoccali@gmail.com

In the event that shot had studied to help you erase a user immediately following by itself, it starting working constantly and you may really

In the event that shot had studied to help you erase a user immediately following by itself, it starting working constantly and you may really

When you look at the brief, this is exactly an internal API to which you might post a consult and you will manage various methods with the app top from within the test. It is quite easy to activate:

QaApiHelper::deleteUser(user_id);

It’s understandable one QaApi are only able to works having decide to try profiles that will be simply obtainable thru an intranet.

Degree out-of Badoo testing

Almost at each and every meeting we give somebody exactly what comparison level we features within our company. I would ike to briefly list people who is actually interesting regarding the direction of Selenium evaluation:

  • Devel ecosystem analysis: Devel is a duplicate out of manufacturing featuring its own angles and you may interior features.
  • Shot comparison: Try is actually a production ecosystem that’s available from an enthusiastic intranet through a specific Hyperlink, and you can that’s a contain of grasp password while the activity getting looked at.
  • Staging comparison: Presenting is actually generally the result of a comprise of discharge branch while the learn.
  • Design investigations.

Parallel Selenium evaluating to possess registration

Let’s return to our very own shot. Imagine that you’re that care about-same QA engineer that is now tasked having training the brand new membership sample to operate in parallel for the numerous images as well as on presenting.

I would ike to prompt your one to photos operate in a production environment, that is to say, he has a comparable user foot. It is reasonably obvious you to in the present put-right up this isn’t you can to operate evaluating within the parallel. For many who stimulate a couple of these types of evaluation a matter of seconds apart into some other photos, then next take to attempts to perform a profile into Badoo in the event that first has authored that, and this will invariably falter:

How can we resolve this dilemma off ours? How do we ensure that the test constantly enjoys an effective fresh Facebook user?

At first I tried to solve this issue the easiest way. I composed a keen mysql dining table with the that we brought in several yourself-authored Fb profiles and marked their condition since ‘available’. The test got a person from this table, and you will changed their updates so you can ‘busy’. If the there can be zero readily available user, the exam damaged, supplying the associated notification.

This system got multiple clear cons. First, if too many attempt times was in fact triggered meanwhile, there are diminished levels available there was nowhere so you can have them regarding. Together with, in some way, the exam might neglect to call it quits an individual at the end (such as for instance if it is actually dropped by clicking ‘Ctrl+C’). Nothing of this try preferred into days when there was reduced than simply an hour to go until the launch due date.

We soon had sick of unstable getiton.com kupГіny accidents and you may aside-of-control statuses which have Fb accounts and you may started initially to find a best provider…

The fresh Graph API

Twitter has a beneficial API enabling you to create take to profiles and also to perform them – builders.facebook/docs/graph-api. It is organised fairly merely: you formulate the demand need after which upload they so you’re able to this new Myspace server, then the answer returns inside json style.


You receive an application id and secret when you register your application on FB (for more details see here - developers.facebook/docs/facebook-login/overview).
  • The amount of registrations for each and every application is restricted. Quote: “For every software you simply can’t perform more than 2000 shot profiles.” Conclusion: you will want to remain number away from users.
  • An examination representative with only been composed can simply work together that have that application. In this situation the program is the domain name where the services is situated. Inside the Badoo, presenting and you will photos are located in various other domains. Conclusion: after you continue matter regarding profiles you should categorise him or her by the application id.

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *