<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mustafa Selim Gunaydin on Medium]]></title>
        <description><![CDATA[Stories by Mustafa Selim Gunaydin on Medium]]></description>
        <link>https://medium.com/@mustafaselimgunaydin?source=rss-aee7b85ea5cf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6Je4Sgua3IEAqEV1GtodtQ.jpeg</url>
            <title>Stories by Mustafa Selim Gunaydin on Medium</title>
            <link>https://medium.com/@mustafaselimgunaydin?source=rss-aee7b85ea5cf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:32:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mustafaselimgunaydin/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Shipping Search Ranking Models Faster Ⅱ: From Auto-Generated Tests to Live Quality Gates]]></title>
            <link>https://medium.com/trendyol-tech/shipping-search-ranking-models-faster-%E2%85%B1-from-auto-generated-tests-to-live-quality-gates-1621d929b2b1?source=rss-aee7b85ea5cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/1621d929b2b1</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[search-ranking]]></category>
            <category><![CDATA[software-testing]]></category>
            <dc:creator><![CDATA[Mustafa Selim Gunaydin]]></dc:creator>
            <pubDate>Wed, 26 Aug 2026 06:15:25 GMT</pubDate>
            <atom:updated>2026-08-27T06:16:35.810Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LLIMonOo7sRWaZ4a6ejWQg.jpeg" /><figcaption>Proven on the Ground First: Falcon’s Test Stand at McGregor</figcaption></figure><p>A ranking model can ship in minutes and still be wrong. Faster delivery only pays off if every iteration is blocked until the serving path is proven not after days of A/B traffic.</p><p>In <a href="https://medium.com/trendyol-tech/shipping-search-ranking-models-faster-a-config-driven-approach-4e55f7e5706b"><em>Shipping Search Ranking Models Faster: A Config-Driven Approach</em></a> we showed how a YAML signature and a delivery pipeline cut model lead time from days to minutes. This article is the other half: <strong>how we test and gate quality</strong> before that model reaches a shared environment.</p><p>The serving architecture is config-driven; the test strategy follows the same principle. We do not re-validate model training that remains data science work. We validate that the <strong>API gets the contract right</strong>: lookups resolve to the correct values, the inference vector matches the model signature, scores align with the ML platform and each iteration clears every gate before deploy.</p><p>In the legacy loop, engineers translated a spreadsheet into Go, unit and automation tests were written manually, and defects sometimes surfaced only during A/B experiments. Today the same pipeline that validates and propagates a signature also generates and runs tests automatically. Regression suite execution dropped from <strong>~30 minutes</strong> (sequential) to <strong>~2 minutes</strong> (parallel), across thousands of scenarios and multiple markets.</p><h3>Autonomous pipeline overview</h3><p>The published delivery pipeline has six stages. Below is the sequence in which a model merge request runs from end to end:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2FXeh6Z%2F2%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2FXeh6Z%2F2%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2FXeh6Z%2Fplain-s.png%3Fv%3D2&amp;type=text%2Fhtml&amp;schema=dwcdn" width="600" height="444" frameborder="0" scrolling="no"><a href="https://medium.com/media/4bcdf832b50c24a7caa4914cdded5861/href">https://medium.com/media/4bcdf832b50c24a7caa4914cdded5861/href</a></iframe><p><strong>Old vs new:</strong> testing and quality used to be the slow half of every iteration manual suites, setup per model and model insights often visible only after days of A/B traffic. The new path generates contract tests in seconds, runs one standard flow for every model and surfaces feature, score and quality foresight at deploy time before a shared environment ever sees the build.</p><p>This article zooms into the testing and quality layer that runs <em>inside</em> those stages, the seven-phase test and gate sequence below:</p><h3>Phase 1: Validation Checks</h3><p>Before any test runs, the rerank-models pipeline mechanically validates the configuration. If anything fails, the pipeline stops there is no “we’ll fix it in QA.” These checks replace the manual cross-referencing that used to happen during code review.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fikf8V%2F1%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fikf8V%2F1%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fikf8V%2Fplain-s.png%3Fv%3D1&amp;type=text%2Fhtml&amp;schema=dwcdn" width="600" height="343" frameborder="0" scrolling="no"><a href="https://medium.com/media/bc88308bb4ef7d6376f070d90ecd29b1/href">https://medium.com/media/bc88308bb4ef7d6376f070d90ecd29b1/href</a></iframe><p>Together, these catch index mismatches, missing features, broken endpoints and malformed YAML before a branch is opened in the automation project or any environment is deployed.</p><h3>Phase 2: Automated Test Generation</h3><p>Once static validation passes, the pipeline determines which service and market are affected, opens a branch in the automation project and generates Behave scenarios from the changed model configuration.</p><p>The test generation flow is three steps with zero human intervention:</p><p><strong>Step 1 — Branch.</strong> The pipeline opens a model-specific branch in the Automation project, keyed to the pipeline branch ID and artifacts affected service–market scope.</p><p><strong>Step 2 — Generate.</strong> The model repository’s data file (in spreadsheet, YAML, or CSV format) is parsed. A generator script walks the model’s feature list, resolves entity types through recursive lookup-key analysis against the catalog and emits Behave .feature files one per feature group plus a score verification file for back-to-back checks against Triton.</p><p><strong>Step 3 — Commit and run.</strong> Generated tests are committed to the automation branch and the feature-test stage is triggered automatically. Feature tests run in a <strong>dynamic pod</strong> in the Trendyol test environment, separate from the later onebox handoff.</p><p>When a new model lands, the new pipeline repeats the full sequence.</p><p>Scenarios are generated per market and service split per region, with Scenario Outline and Examples tables to prevent models with 200+ inference positions from duplicating step logic.</p><p><strong>Generated feature files and example scenario</strong></p><pre>Feature: Feature Store Parameter Validation for Rerank Models<br><br>  Background:<br>    Given I set URL and headers for the &quot;rerank&quot; API endpoint<br>    And I set URL and headers for the &quot;feature-store&quot; API endpoint<br>    And I set the A/B test variant to &quot;model-v5-bls&quot;<br>    And I set the request body from the test data source<br><br>  @feature-store<br>  Scenario Outline: Validation for impression features are returned correctly<br>    When I perform a POST request to the rerank endpoint<br>    Then the response status code should be &quot;200&quot;<br>    And I extract the &quot;&lt;feature&gt;&quot; feature from position &quot;&lt;order&gt;&quot; of the results<br>    And I build a feature store request for entity &quot;&lt;entity&gt;&quot;, feature &quot;&lt;feature&gt;&quot;, id &quot;&lt;feature_id&gt;&quot;<br>    When I perform a POST request to the feature store endpoint<br>    Then the &quot;&lt;feature&gt;&quot; parameter in the feature store response should match expected values<br>    Examples:<br>      | order | entity   | feature_id | feature                        |<br>      | 1     | brand    | feat-001   | brand_impression_14d           |<br>      | 2     | category | feat-001   | category_impression_14d        |<br>      | 3     | seller   | feat-001   | seller_impression_14d          |</pre><p>The generator sits between three sources of truth:</p><ol><li><strong>The model signature</strong> — ordered features and inference sections defining which groups, fields, and defaults the model expects</li><li><strong>The feature catalog</strong> — provider types, lookup keys and dependency metadata for each feature group ID</li><li><strong>Service configuration</strong> — market, culture, API endpoints and bucket mappings per service</li></ol><p>The oracle for every generated scenario is the configuration itself, not a duplicate implementation of serving logic. While generation is fully automated, the team reviews the resulting automation merge request as pipeline tests run, human-in-the-loop on generated artifacts without reintroducing manual test authoring.</p><p>Not every change goes the full distance. A catalog-only change skips model-specific stages; when an MR touches both a model and the catalog, the pipeline uses feature dependencies to work out the real blast radius on its own.</p><h3>Phase 3: Feeding and Parallelizing the Feature Suite</h3><p>This phase covers how we feed production-shaped data into the feature-test stage and how we execute that suite in parallel.</p><p><strong>Test data</strong> lives in a dedicated QA Data Store seeded from production. A Data Provider pipeline copies production events per market–service into that store. Scenarios then reuse logged requests and product IDs, so coverage mirrors real traffic rather than only synthetic stage data — the same edge cases users hit online become assertable inputs in the feature-test pod.</p><p>Generated model configuration produces dozens of .feature files. Running them sequentially used to take <strong>~30 minutes</strong> and would blow the pipeline budget. Parallel mode brings that down to ~<strong>2 minutes</strong> (~<strong>15×</strong>).</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fnrt1l%2F2%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fnrt1l%2F2%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fnrt1l%2Fplain-s.png%3Fv%3D2&amp;type=text%2Fhtml&amp;schema=dwcdn" width="600" height="205" frameborder="0" scrolling="no"><a href="https://medium.com/media/317fae19e3796289dde8c34100cf11d9/href">https://medium.com/media/317fae19e3796289dde8c34100cf11d9/href</a></iframe><p>Technically, @fast activates a ThreadPoolExecutor in the automation harness. The runner discovers all target .feature files, strips @fast from subprocess args to avoid recursion, launches one Behave process per file, aggregates exit codes and emits a single report.</p><p>Files with ordering dependencies stay off the parallel path (those without the @fast tag) and run linearly; the rest share the thread pool.</p><h3>Phase 4: Feature Test — Feature and Model Parity</h3><p>As described in the delivery-pipeline overview, <strong>feature test</strong> deploys the candidate configuration and checks <strong>feature parity</strong> and <strong>model parity</strong>.</p><p>Feature test is not a smoke check that fields exist. It answers one question: <strong>did the API assemble and score the request correctly?</strong> Two layers share that guarantee the serving path honored the model signature end to end. Models remain a black box: we supply input, inspect output, and never re-validate training.</p><ul><li><strong>Feature parity</strong> — each value in the assembled inference vector matches its source of truth (Feature Store or derived features).</li><li><strong>Model parity</strong> — ranking scores from the API match Triton output for the same feature vector.</li></ul><p>A wrong value, mis-indexed feature or score drift fails here before a shared environment or an A/B test sees the build.</p><h3>debugFields as the test interface</h3><p>Rerank responses expose a debugFields object that makes the internal assembly visible without white-box access to the service. Tests treat it as the primary assertion surface:</p><pre>&quot;debugFields&quot;: {<br>    &quot;model&quot;: &quot;model-v5-bls&quot;,<br>    &quot;products&quot;: [<br>      {<br>        &quot;id&quot;: 123456,<br>        &quot;score&quot;: 9.33055,<br>        &quot;inference&quot;: [59, 19, 14, 384, 0.001643, 29171]<br>      },<br>      {<br>        &quot;id&quot;: 456789,<br>        &quot;score&quot;: 4.20643,<br>        &quot;inference&quot;: [66, 22, 14, 112, 0.502312, 64432]<br>      }<br>    ]<br>}</pre><ul><li>model — confirms which model version handled the request</li><li>products[].score — the rank score used for sorting; input to score parity checks</li><li>products[].inference — the assembled feature vector in model input order; each index maps to a position in the model signature&#39;s inference list (~300 features per model, one prediction per request)</li></ul><p>Testing suite covers the full request path — from API intake through feature resolution and model scoring to outbound events — so each market and vertical stays behaviorally consistent as models and configs change.</p><p>Smoke runs first. Tagged smoke suites exercise happy-path and basic validation on query parameters across products, ads, store ads, image products and regional deployments. They confirm the service is up, accepts valid traffic, and fails clearly on bad input before deeper suites run.</p><p>Beyond smoke, coverage falls into five checks:</p><p><strong>Input validation</strong> — Rejects malformed or incomplete requests early (missing or invalid query fields, bad user IDs, empty payloads) with the expected status codes and error messages.</p><p><strong>Feature and data integrity</strong> — For each model version, compares feature values at a given item index against Data Store / derived references, so resolved inputs match what the model should see.</p><p><strong>Feature cache consistency</strong> — After a cold start (cache cleared for the feature under test), the first rerank call resolves features from the source and writes them into cache. We then assert three alignments: the value exposed in the rerank response matches the Feature Store reference, the cached entry matches that same reference, and a second request returns values that match the cache. Together, this validates write-on-miss, stored content correctness, and read-on-hit reuse.</p><p><strong>Score and back-to-back verification</strong> — Sends the same feature vector to Rerank and Triton and asserts scores match, so API output stays aligned with the served model.</p><p><strong>Kafka event auditing </strong>— After a successful rerank, checks published messages match the processed request and response.</p><p><strong>Transport and ops checks</strong> — Confirms gzip encoding when requested, and that health, readiness, and models endpoints report a healthy, correctly configured service.</p><p>Applied across all deployments and model breakdowns, this keeps feature fidelity, score consistency, and end-to-end behavior under control without relying on a single layer of the stack.</p><h3>Phase 5: Onebox — Manual Verification and Performance Check</h3><p>After the feature tests pass in the dynamic pod, the pipeline moves to an <strong>onebox</strong> — the isolated sandbox described in the delivery article: deploy the build, post its URL to Slack with a ready-to-run request, and let data scientists check the candidate model before anything touches a shared environment.</p><p><strong>Performance test metrics and flow:</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2FRTS6W%2F1%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2FRTS6W%2F1%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2FRTS6W%2Fplain-s.png%3Fv%3D1&amp;type=text%2Fhtml&amp;schema=dwcdn" width="752" height="226" frameborder="0" scrolling="no"><a href="https://medium.com/media/e07b8694752f6578a954618b508ed85e/href">https://medium.com/media/e07b8694752f6578a954618b508ed85e/href</a></iframe><pre>                   ┌──────────────────────────────┐<br>                   │   1. Deploy Candidate Model  │<br>                   │            (Onebox)          │<br>                   └──────────────┬───────────────┘<br>                                  ▼<br>                   ┌──────────────────────────────┐<br>                   │   2. Automated Load Testing  │<br>                   └──────────────┬───────────────┘<br>                                  ▼<br>                   ┌──────────────────────────────┐<br>                   │   3. Evaluate Against SLOs   │<br>                   │   (Latency,Throughput,Error) │<br>                   └──────┬────────────────┬──────┘<br>                          │                │<br>                PASS      │                │      FAIL<br>      ┌───────────────────┘                └────────────────────┐<br>      ▼                                                         ▼<br>    ┌──────────────────────────┐             ┌──────────────────────────┐<br>    │ Promote to Production    │             │ Reject Candidate         │<br>    │ (Continue Pipeline)      │             │ (Return for Optimization)│<br>    └──────────────────────────┘             └──────────────────────────┘</pre><p>If error rate exceeds <strong>2%</strong>, the run terminates automatically. This is a <strong>per-iteration release gate</strong>, not a periodic regression benchmark — every new model version must clear thresholds before the pipeline proceeds.</p><h3>Phase 6: Ranking Quality Gates</h3><p>Feature parity, model parity, and performance tests validate correctness and capacity. Neither answers whether the ranking is <em>good</em> for users. The delivery pipeline’s <strong>quality checks</strong> stage runs those ranking-quality checks against the same onebox, after performance gates pass.</p><h3>Term Grader — quantitative signal at deploy time</h3><p><strong>Old way:</strong> deploy, split traffic, wait 2–3 days for A/B data, then decide. A bad model costs days of traffic before anyone notices.</p><p>Before launching an A/B test, it helps to know how a new rerank model will perform in advance. Term Grader does exactly this — it uses production data to simulate model performance across curated search terms, providing early signals via key metrics such as CR, CTR, and Content Quality.</p><p><strong>How It Works</strong></p><p>The tool queries the Search API with a curated term set, retrieves the top 100 products per term and computes CR, CTR and Content Quality from production data — weighting results by rank so top items matter most. Scores are averaged per term and model, enabling direct comparison across iterations. Results are stored for historical tracking, and the pipeline runs automatically after each new model deployment with results shared to relevant teams.</p><p><strong>Metrics</strong></p><ul><li><strong>CR (Conversion Rate)</strong> — orders / clicks: did the user buy after seeing the product?</li><li><strong>CTR (Click-Through Rate)</strong> — clicks / impressions: did the user engage?</li><li><strong>CQ (Content Quality)</strong> — weighted rating, rate count, comment count</li></ul><p><strong>Final Score:</strong> Each metric is rank-weighted (DCG-inspired), so higher-ranked items contribute more. The average of these adjusted values per term forms the final score used to compare models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RgQi9SXVmSxyQCEqoa1ghQ.png" /></figure><h3>LLM as a Judge — qualitative relevance at scale</h3><p>Metrics like CR, CTR, and Content Quality tell us <em>how users behaved</em> — but they don’t tell us <em>why</em>. To capture the qualitative side of relevance, manual evaluation is the obvious first instinct. The problem is that it simply doesn’t scale: evaluating 50 search terms against 20 products each means 1,000 individual judgments, roughly 8 hours of work per person, per model iteration. That’s not sustainable across frequent releases.</p><p>This is where LLM as a Judge comes in. Instead of relying on manual review, an LLM scores how well each returned product matches the search intent behind a query — producing both a numeric relevance score for quick comparison and a structured label for categorical tracking. For example, for the query <em>“red shoe”</em>:</p><pre>                   ┌──────────────────────────────┐<br>                   │     User Query: &quot;red shoe&quot;   │<br>                   └──────────────┬───────────────┘<br>                                  │<br>          ┌───────────────────────┴───────────────────────┐<br>          ▼                                               ▼<br>┌──────────────────────────┐                    ┌──────────────────────────┐<br>│   Model A Candidates     │                    │   Model B Candidates     │<br>│  • Red Sneaker           │                    │  • Red Sneaker           │<br>│  • Red Heels             │                    │  • Blue Bag              │<br>│  • Burgundy Boot         │                    │  • Black Wallet          │<br>└─────────┬────────────────┘                    └─────────┬────────────────┘<br>          │                                               │<br>          └───────────────────────┬───────────────────────┘<br>                                  ▼<br>                   ┌──────────────────────────────┐<br>                   │       LLM Judge Engine       │<br>                   │ (Evaluate Intent Alignment)  │<br>                   └──────┬────────────────┬──────┘<br>                          │                │<br>                          ▼                ▼<br>    ┌──────────────────────────┐       ┌──────────────────────────┐<br>    │     Score: 9.2 / 10      │       │     Score: 4.1 / 10      │<br>    │  VERDICT: HIGH RELEVANCE │       │   VERDICT: IRRELEVANT    │<br>    │    (Accept Results)      │       │    (Reject Results)      │<br>    └──────────────────────────┘       └──────────────────────────┘</pre><p>The difference is immediately interpretable — and reproducible at scale.</p><p><strong>Labels and Prompt Design</strong></p><p>Rather than a single relevance score, the LLM assigns one of four structured labels to each query–product pair:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fggacp%2F3%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fggacp%2F3%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fggacp%2Fplain-s.png%3Fv%3D3&amp;type=text%2Fhtml&amp;schema=dwcdn" width="872" height="230" frameborder="0" scrolling="no"><a href="https://medium.com/media/17c4893de9573d110f82ee7c9aa51178/href">https://medium.com/media/17c4893de9573d110f82ee7c9aa51178/href</a></iframe><p>The prompt provided to the model includes the query along with product metadata — title, category, brand, gender, seller and key attributes. The LLM returns a structured JSON response containing step-by-step reasoning followed by a final label.</p><p><strong>Bringing It Together</strong></p><p>Term Grader and LLM as a Judge are complementary, not redundant. Term Grader captures <em>quantitative engagement</em> — how users actually click, convert and rate results. LLM as a Judge captures <em>qualitative relevance</em> — whether the results semantically make sense for the query, independent of user behavior.</p><p>Neither signal by itself reveals the complete story. Engagement metrics may be affected by position bias or limited product options, while relevance judgments alone do not capture actual user preferences. By keeping pace with model updates, they deliver a faster, more holistic view of model quality, eliminating the delay of waiting days for <strong>predictive insights to emerge</strong> from A/B test results.</p><h3>Phase 7: Open the MR and Production Safety</h3><p>If every phase above passes — validation, feature and model parity, performance, and ranking quality — the onebox is torn down and the final merge request opens in the ranking service, closing out the delivery pipeline described in the <a href="https://medium.com/trendyol-tech/shipping-search-ranking-models-faster-a-config-driven-approach-4e55f7e5706b">config-driven ranking article</a>. By this point, the model has already been proven correct, fast, and relevant; the merge request is not where quality gets decided, it’s where it gets confirmed. Engineers review the diff, verify A/B test mappings, and scale the model if needed, then merge and deploy.</p><p>This is also where the ownership split becomes clear. Data scientists take a model all the way to a tested, live-verified onebox on their own — no engineering involvement required until the model has already cleared every gate. Engineering’s role narrows to a final review and rollout, not a re-validation of work already proven upstream.</p><p>Production safety doesn’t end at merge. Smoke tests (@smoke) run before deployments, gating every canary deployment independently of what passed earlier. Health, readiness, and metrics endpoints must respond before traffic shifts. Crucially, a smoke failure during canary blocks release even when the full pipeline passed on the onebox — the deployed artifact gets one last check to prove it&#39;s alive in the target environment.</p><h3>Conclusion</h3><p>What used to take days now happens within a single pipeline run. Every model iteration earns its way to production on evidence, not elapsed time.</p><p>This works because quality is defined the same way the model is: the YAML signature that describes a model also defines what must be true before it ships. Feature and model parity checks catch contract errors early, test generation scales automatically with every new signature and Term Grader combined with LLM as a Judge deliver a reliable ranking-quality signal at deploy time.</p><p>Some parts of this are still evolving: tightening resource planning around which A/B tests are actually running and closer coordination across teams on mappings. But the core of it holds up, Shipping a ranking model is just opening a merge request. By the time it lands, the model’s already been through the wringer.</p><h3>About Us</h3><p>We’re building a team of the brightest minds in our industry. Interested in joining us? Visit the pages below to learn more about our open positions.</p><p><a href="https://careers.trendyol.com/tr?source=post_page-----4e55f7e5706b---------------------------------------">Home - Trendyol Careers</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1621d929b2b1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/trendyol-tech/shipping-search-ranking-models-faster-%E2%85%B1-from-auto-generated-tests-to-live-quality-gates-1621d929b2b1">Shipping Search Ranking Models Faster Ⅱ: From Auto-Generated Tests to Live Quality Gates</a> was originally published in <a href="https://medium.com/trendyol-tech">Trendyol Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visual Testing with Percy]]></title>
            <link>https://medium.com/@mustafaselimgunaydin/visual-testing-with-percy-8104864b8561?source=rss-aee7b85ea5cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/8104864b8561</guid>
            <category><![CDATA[percy]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[visual-testing]]></category>
            <category><![CDATA[browserstack]]></category>
            <category><![CDATA[test-tools]]></category>
            <dc:creator><![CDATA[Mustafa Selim Gunaydin]]></dc:creator>
            <pubDate>Tue, 25 Apr 2023 21:55:26 GMT</pubDate>
            <atom:updated>2023-07-30T06:31:07.837Z</atom:updated>
            <content:encoded><![CDATA[<p>In the fast-paced world of web development, ensuring that your website or application looks and functions as intended across various platforms and devices is crucial. Visual testing plays a significant role in this process, and Percy is a powerful tool that has emerged as a game-changer in the field. In this article, we will explore the features and benefits of Percy, and how it can streamline your visual testing workflow.</p><h3>What is Percy?</h3><p>Percy is a visual testing and review platform designed to help developers detect and fix visual changes in their web applications. By capturing screenshots of your application at different stages and comparing them to a baseline, Percy can identify visual discrepancies and alert you to any unintended changes. This automated process saves time and effort, allowing developers to focus on other aspects of their projects.</p><h3>How Percy Works</h3><h4><strong><em>1) Integration with your workflow</em></strong></h4><p>Percy integrates seamlessly with your existing development workflow, supporting popular continuous integration (CI) tools and version control systems like GitHub, GitLab, and Bitbucket. This integration allows Percy to run visual tests automatically whenever you push new code or create a pull request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/0*wlXouQMKFsUk_ycl.png" /></figure><h4><strong><em>2) Snapshot creation</em></strong></h4><p>When you run a visual test, Percy captures snapshots of your application’s UI at various breakpoints and configurations. These snapshots can be taken using different browsers, screen resolutions, and device types to ensure comprehensive coverage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*U7wcCAroQWBqiS_y.png" /></figure><h4>3) Visual comparison</h4><p>Percy compares the captured snapshots to a baseline, which is typically a previously approved version of your application. By using advanced image comparison algorithms, Percy can detect even subtle visual differences that might be missed during manual testing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/0*BK2ikk_Oh8vbBwnB.png" /></figure><h4>4) Review and approval</h4><p>When visual changes are detected, Percy provides a user-friendly interface for reviewing the differences. Developers can easily approve or request changes, streamlining the collaboration process and ensuring that only the intended visual updates are deployed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*3jZjR0QWFmdVyNMu.gif" /></figure><h4>Benefits of Using Percy</h4><p><strong>1. Increased accuracy</strong> ➡️ Percy’s automated visual testing reduces the risk of human error and increases the accuracy of detecting visual discrepancies. This ensures that your application maintains a consistent appearance across different platforms and devices.</p><p><strong>2. Time and cost savings</strong> ➡️ By automating the visual testing process, Percy saves developers time and effort that would otherwise be spent on manual testing. This translates to reduced costs and faster development cycles.</p><p><strong>3. Improved collaboration </strong>➡️ Percy’s review and approval interface fosters better collaboration between team members, making it easier to discuss and resolve visual changes. This leads to a more efficient development process and higher-quality applications.</p><p><strong><em>Conclusion</em></strong></p><p>Percy is revolutionizing the way developers approach visual testing, offering a powerful and efficient solution for detecting and resolving visual discrepancies in web applications. By integrating seamlessly with your existing workflow, automating the testing process, and providing a user-friendly interface for collaboration, Percy is an invaluable tool for any development team looking to improve the quality and consistency of their applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8104864b8561" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JMeter ile Yük Testi (Load Testing)]]></title>
            <link>https://medium.com/@mustafaselimgunaydin/jmeter-ile-y%C3%BCk-testi-load-testing-27d53549c48b?source=rss-aee7b85ea5cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/27d53549c48b</guid>
            <category><![CDATA[jmeter]]></category>
            <category><![CDATA[loadtest]]></category>
            <category><![CDATA[testing-tools]]></category>
            <category><![CDATA[http-request]]></category>
            <category><![CDATA[qa]]></category>
            <dc:creator><![CDATA[Mustafa Selim Gunaydin]]></dc:creator>
            <pubDate>Tue, 15 Feb 2022 17:04:30 GMT</pubDate>
            <atom:updated>2022-03-03T16:04:49.549Z</atom:updated>
            <content:encoded><![CDATA[<p>Öncelikli olarak yük testi nedir ve neden yapılır, bunlara değinelim.</p><p><strong>Yük Testi,</strong> yazılım uygulamasının performansının belirli bir beklenen yük altında test edildiği, işlevsel olmayan bir yazılım test sürecidir. Aynı anda birden çok kullanıcı tarafından erişilirken nasıl davranacağını görmek amacıyla yapılan testlerdir ve performans sonrası oluşan bu darboğazları (bottleneck) iyileştirmek ve kararlılığını, sorunsuz çalışmasını sağlamaktır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*p1jpxpW9vMigYvRE7tor2w.png" /></figure><p><strong>I - </strong>Test Plan içerisinde yeni bir Thread Group oluşturuyoruz. Thread Group ismini değiştirebilir ve içerikle ilgili bilgileri yorum kısmına yazabilirsiniz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*Yk2bGMcIhcH_qIJ2lRa2_w.png" /></figure><p>Oluşturduğumuz Thread Group içerisinde thread özellikleri kısmından <strong>kullanıcı sayısını, rampa süresini ve döngü sayısını</strong> belirtebiliriz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*QUd4DWIs9zX-8yHwgOMqgA.png" /></figure><ul><li><strong>Number of Threads: </strong>Siteye yönlendirilen kullanıcı sayısı</li><li><strong>Ramp-Up Period</strong>: Toplam thread sayısını başlatmak için geçmesi gereken zamandır. Örneğin 100 thread için 50 saniye rampa süresi olursa her saniye 2 thread başlatılır.</li><li><strong>Loop Count</strong>: Testimizi kaç kez tekrarlayacağınız.</li></ul><p><strong>II -</strong> Config Element kısmından HTTP request defaults ekleyeceğiz.</p><p>Testleri koşacağımız web adresini bu kısma yazacağız, bir sonraki adımda ise test edeceğimiz path kısımlarını yazacağız. Böylece verileri tekrar etmemiş ve bakımı kolaylaştırmış olacağız.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*WeS0khqfhp4Ux5B92QeKtQ.png" /></figure><p>Ardından Server Name kısmına web sitemizi ekliyoruz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JB4E1c2sAZyjbqoiGXhn1A.png" /></figure><p><strong>III -</strong> Sampler kısmından HTTP request ekleyeceğiz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*-xRb9K9IOtnFtWeIQAh_uw.png" /></figure><p><strong>Samplers,</strong> sunucuya yapılan gerçek isteklerdir. Örneğin, bir web sitesi, uygulama veya API yük testi için HTTP samplers kullanılır. Diğer samplers arasında FTP, SMTP, Java, JDBC ve SOAP istekleri bulunur.</p><p>Sonrasında gerekli HTTP request’ler için yönlendirilmek istenen Path kısmı doldurulur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/355/1*afmQimX2kxzzUGgBd81ngg.png" /></figure><p><strong>IV -</strong> Listener kısmından Graph Result ve View Results in Table ekliyoruz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*ez45uKkD2O05g_e_eWrB-w.png" /></figure><p>Testin grafik ve tablo çıktısını görebilmek için yeterli bize yeterli olacaktır.</p><p>Ayrıca Assertion kısmından da gerekli assertionları ekleyip rapor oluşturabiliriz.</p><p>Örnek bir status code assertion’ı.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K-yd0o9ylEN_7hjOf4nS2Q.png" /></figure><p>JMeter uygulamamızın bulunduğu bin klasörüne konsol açarak şu kodu yazmamız ve raporlama dosyaları için boş bir klasör oluşturmanız yeterlidir. Raporlama yapılmadan önce bir CSV dosyası oluşturur ve verileri buradan alır.</p><p>jmeter -n -t <strong>&lt;Projenin-dosya-yolu&gt;</strong> -l <strong>&lt;Yeni-klasör-dosya-yolu&gt;/test.csv</strong> -e -o <strong>&lt;Yeni-klasör-dosya-yolu&gt;</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2LgTsFa9pTknzslc6_CAKA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27d53549c48b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>