[Appium]get performance for iOS

So long ago, I tried to monitor iOS performances using instrument commands. But I gave up once because of host machine’s load.

But https://github.com/appium/appium-xcuitest-driver/pull/637 is created and that is awesome…

I just remember seeing the PR and I’ve published this article in my memory…


touch Kubernetes

I know of Kubernetes, but I have few experience for that.

But the kubernetes community has interesting tutorials.


I can imagine the architecture and how to work.
I guess I’ll use them and Istio though.

Note for image comparison based on JS lang

Note for me.

Image/Visual comparison tools.

The reg-suit is https://github.com/reg-viz/reg-suit .

The kobold is https://github.com/yahoo/kobold .
The kobold’s diff engine is https://github.com/yahoo/blink-diff .
I’ve been using it for a long time for comparing snapshots.

Read “Mastering Blockchain”

One day, I encountered Mastering Blockchain. When the book was available with some discount, I purchased it and I finished reading it lately.

I was able to enjoy reading the book since I have some knowledge of distributed system especially the Byzantine General Problem in theoretical aspect and cryptography.

We can lean not only the Blockchain and its implementations but also the more fundamental knowledge such as what distributed system is and cryptography. It’s essential thing than concrete implementations. If the implementation is disrupted, you can implement other way or new way because you know the fundamental stuff.

I strongly feel again. Lately, academical/scientific stuff and industrial stuff become closer. For me, it’s very exciting things though.

I left my thought for the book which I’ve posted on Twitter.

[Flutter]Flutter app with Appium

I touch [Flutter]some thoughts for the Flutter (v0.1.0) before. And this time, I tried to run the app with Appium.

We can run UI test with Appium as well as native apps. But Flutter apps have no accessibility identifier and customised resource id. So, it’s quite difficult to implement robust test automation scenario so far.


Probably, Appium is easy to kind of automation than Espresso/XCUITest so far.

Taste mabl which provides ML-driven test automation service

Lately, ML related technologies step into industry section and many engineers challenge to integrate them into their services.

The movement also comes into test/quality industry. I also have some ideas to use them though.

A few weeks ago, I found a service which named mabl which provides ML-driven test automation service. The service run tests using ML technologies, not test ML technologies itself. I try the service recently and put some results and thought here.

URL: https://www.mabl.com

The target URL is simple, https://www.google.co.jp

I don’t do anything except for input the URL into a particular area. Then the journey started and I just wait for a while.

The site looks crawling the target site and checking all links. The followings are the results. I can see some error message which may be broken links.

Screen Shot 2018-02-27 at 10.22.02

Screen Shot 2018-02-27 at 9.34.37

In test section, we can see some test cases and its results. Their test cases are generated automatically. According to the titles and some logs, the test aims to collect available transitions, it means available links and some data.

Screen Shot 2018-02-27 at 10.21

We also can see train section. I guess the section is a teacher in ML world. So, we running test iteratively, then the ML logic learns the test target and they will be able to conduct automated test efficiently.

Screen Shot 2018-02-27 at 10.22

Screen Shot 2018-02-27 at 10.23

I believe if we run test iteratively and collect test data, cases and results, the ML will be more inteligent and they can run test automatically effective.

Anyway, it looks promising and I’d love to try my thought using ML technologises.

Read a part of “Practical Monitoring”

I was interested in the book for a long time. The O’Reilly has published a part of the book and I also read it to know the book.

Practical Monitoring

Just I read only one section. I couldn’t more monitoring stuff in this book, but I got some antipatterns.

  • Anti-Pattern #1: Tool Obsession
  • Anti-Pattern #2: Monitoring-as-a-Job
  • Anti-Pattern #3: Checkbox Monitoring
  • Anti-Pattern #4: Using Monitoring as a Crutch
  • Anti-Pattern #5: Manual Configuration

When I read the above sections, I can imagine why they are the antipatterns. Some of them have similar issues creating the autonomous team.

In short, to scale the system, we must make the system automate. And the book should have many practices of the monitoring.

Anyway, we should take care monitoring stuff as well.

[Elixir]property based testing with stream_data

Elixir will bundle property-based testing in the core.

We can see the prototype for the library from https://github.com/whatyouhide/stream_data .

The following lines are the example I applied the library before.

  use ExUnitProperties

  property "get body" do
    check all body <- StreamData.binary(),
              max_runs: 50 do
      value = %{"request" => %{"method" => "GET",
            "path" => "/request/path", "port" => 8080},
            "response" => %{"body" => body, "cookies" => %{},
            "headers" => %{"Content-Type" => "text/html; charset=UTF-8",
              "Server" => "GFE/2.0"}, "status_code" => 200}}
      assert Body.get_body(value) == body


We can see more details from https://hexdocs.pm/stream_data/StreamData.html and you can see how flexible the methods.

Touch Spinnaker


I’ve tried to conduct the Spinnaker to understand the behaviour and its architecture. Walk through the setup tutorial, https://www.spinnaker.io/setup/ , and read architectural things.

I could image what is relevant and what kind of tools are integrated in the Spinnaker.

As persistent storage, I see https://www.spinnaker.io/setup/install/storage/minio/ as the S3 clone. I didn’t know of this tool…

My first impression after I tried by my hand is configurations using yaml looks complicated for small teams, but once we need some features like canary release and our team grow, this kind of tools looks so helpful. Once establish building the base tools, we can configure via UI and it handy to use the tool. I expect if we’d like to make configurations programable, CLI and no UI is helpful though.

Anyway, I’d like to step into the following codelabs if I need to use this tools in our production…

Recent environments for distributed system grows rapidly, Istio (istio.io/) as well.




“理論”といっているのでどれだけ確立されたものかと見てみると、実証的なものが多く、”jobs theory”と強くいうにはまだのよう(ここは著者も言及してはしますね)。原書のタイトルを見てみると Competing Against Luck: The Story of Innovation and Customer Choice とあるので、個人的にはこちらの方がスッと中身も、読んだ後も馴染む感じがしますね。

視点を利用ユーザ、顧客に合わせ、彼ら/彼女らが何か進むために “何か” を雇用する。そういう考え方で物事を捉え、実装に落とし込んでいくという流れ。






また、アンチパターンとして、うまくいっているというものに対する誤謬(logical fallacy)を以下のように列挙していました。

  • 能動的データと受動的データの誤謬
  • 見かけ上の成長の誤謬
  • 確証データの誤謬

この本書の最後にあった、このジョブ理論によって期待されることは、マイクロサービスの文脈でよく言われるOrchestration vs Choreographyの話にも通じるものも感じましたね。

  • 意思決定の分散
  • 資源最適化
  • 意欲の向上
  • 適切な測定能力