How to perform many UI tests in parallel using the Selenium Grid?

How to perform many UI tests in parallel using the Selenium Grid?Hello! I work at Avito and am developing tools for testing. When we had a lot of UI tests, we were faced with the problem of scaling Selenium servers, and now I will tell you how we solved it.
 
And how do you perform many UI tests in parallel using the Selenium Grid? Unfortunately - in any way.
 
Selenium Grid is not able to perform a large number of tasks in parallel.
 
Do you want to register a really large number of nodes? Well, try it.
 
Want speed? It will not be - the more nodes are registered on the grid, the less stable each test is executed. As a consequence - restart.
 
Do you want fault ...
+ 0 -

Aws Lambda Go 1.x, Kinesis, CloudSearch

In previous I described how to create a simple lambda on Golang that takes an input from a simple object of two fields and sends the same simple object to the output. Now we will complicate the task a bit by connecting to the lambda as a Kinesis data source, and we will transfer the result of processing the Kinesis records to CloudSearch. No special logic in lambda will not be for simplicity: we simply accept requests from Kinesis, log them into CloudWatch, translate it and send it to CloudSearch.
 
 
Aws Lambda Go 1.x, Kinesis, CloudSearch
 
 
h...
+ 0 -

Terraform: a new approach to Infrastructure as code

Hello colleagues! While the brilliant Ilon Musk bears ambitious plans terraforming of Mars , we are interested in new opportunities related to the paradigm " Infrastructure as Code " and we want to offer you a translation of an article about one of the representatives of the "magnificent seven" - Terraform . Book Eugene Brickman on the topic is not bad, but it will soon be a year, so please speak - do you want to see it in Russian
 
 
The word Kamal Marhubi (Kamal Marhubi) from the company Heap.
 
Terraform - a tool from ...
+ 0 -

Amazon Lambda with Golang

Amazon Lambda with GolangIn mid-January this year, Amazon announced support Go in their lambdas.
 
Great news, but now I'm writing these lines without having any experience writing code on Golang, so that, passing through the hemp and bumps, in parallel with writing the article, come to your first working lambda on Go.
 
Go . My machine is Windows 10 on an Intel processor. There is nothing complicated: download, run. We check that Go has registered the path to <путь установки> bin into the PATH environment variable or start go through cli (cmd, for example) to check.
 
 
Create the project folder:
 
 
+ 0 -

As I parse the database C-Tree, developed 34 years ago

As I parse the database C-Tree, developed 34 years ago

 
I recently came to the task of supplementing the functionality of one fairly old program (there is no source code for the program). In fact, it was necessary just to periodically scan the database, analyze the information and, based on this, make mailings. The whole problem was that the application was working with the c-tree database and written already in 1984.
 
 
Having rummaged on a site of the manufacturer of the given DB some odbc the driver was found, however I did not manage to connect it in any way. Numerous googling also did not help to connect to the database and get data. Later it was ...
+ 0 -

Testing service API and RSpec

Sometimes there is a need to write a small IPA service, often in the form of a prototype. And often this prototype then remains in the originally written form following the principle of "works - do not touch." Rewriting even a relatively small service involves the possibility of making an error or an occasional insignificant change in behavior, which is not immediately apparent. To help here comes testing ...
+ 0 -

We write a Telegram-bot on Go to search Wikipedia

We write a Telegram-bot on Go to search WikipediaTable of contents [/b]
 
Create a bot
 
We write the code
 
Expand the bot
 
Conclusion
 
 
Now telegrams are very popular and writing bots for him has become a kind of hello world of our days, therefore, at the thought of what you can write now, many immediately think of writing telegrams for the bot.
 
As a student, like all students, I often visit Wikipedia in parallel, giving time and a telegram. It was decided to find a way to combine the location in the telegram and the opportunity to find the material I wanted in Wikipedia, in fact, this bot appeared (at the time of writing the bot, I did not ...
+ 0 -

Composition of interfaces in Go

One of the most pleasing concepts for me is the ability to composition interfaces. In this article, we will take a look at a small example of using this language feature. To do this, imagine a hypothetical scenario in which two structures process user data and execute http requests.
 
Ben Johnson .
 
 
Perhaps you are curious about the implementation of HTTPClient ?
 
type (
//wrapper for http requests
HTTPClient struct {
.req * Request
}
.
//structure for representing the http request
Request struct {}
)
//returns the configured HTTPClient
func New (r * Request) * HTTPClient {
return ...
+ 0 -

Writing a Telegram bot for Habrahabr

Writing a Telegram bot for HabrahabrIn this article, I want to talk about how the writing of the Telegram bot was done, which could send articles to Habrahabr, first to Python, and then to Go, and what came of it.
was used. pyTelegramBotAPI , for parseing RSS-feeds - feedparser
 
In the process of working, the structure became much more complicated: now the bot not only sent new articles, but also could filter out those articles that did not contain tags to which the user was subscribed. The implementation was very simple: the SQLite database was used, in which there were only 2 columns (id and tags), good, Python3 had ...
+ +1 -