<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:21:48 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-2592] folio-perf-test: Drop random, use deterministic records/search strings</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2592</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;We want folio-perf-test to run exactly the same queries each day.&lt;br/&gt;
Replace all random and all non-deterministic record/search string picking.&lt;/p&gt;

&lt;p&gt;The setup picks 20 instances, 20 available items, 20 locations and 20 users (limit = number of threads):&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
Perf_Setup - GET inventory_instances?limit={limit}
Perf_Setup - GET inventory_items?query=(status.name==&lt;span class=&quot;code-quote&quot;&gt;&quot;Available&quot;&lt;/span&gt;)&amp;amp;limit={limit}
Perf_Setup - GET locations?limit={limit}
Perf_Setup - GET users?limit={limit}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This is not deterministic because there is not sort clause allowing the database to return any records.&lt;br/&gt;
One possibility is using &lt;tt&gt;limit={limit}&amp;amp;query=id==1234567* sortBy id&lt;/tt&gt; (replace 1234567 by a suitable prefix that returns more than 20 records).&lt;/p&gt;

&lt;p&gt;Several tests pick values for the query search string by random, for example &quot;FOLIO-2154 search instance by contributors new array syntax&quot; = &quot;Perf - GET inventory/instances (contributors =/@name &amp;quot;{name}&amp;quot;) sortby title&quot;:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
    Random rand = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; Random();
    ...
    def pick = rand.nextInt(size);
    def obj = resp.instances[pick].contributors;
    &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; (i = 0; i &amp;lt; obj.size(); i++) {
      def val = obj[i].name.trim();
      vars.put(&lt;span class=&quot;code-quote&quot;&gt;&quot;contributorName&quot;&lt;/span&gt;, val);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;For each test that uses Random come up with a hard-coded list. It should contain search strings with low and high hit count.&lt;/p&gt;</description>
                <environment></environment>
        <key id="79629">FOLIO-2592</key>
            <summary>folio-perf-test: Drop random, use deterministic records/search strings</summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</type>
                                            <priority id="10005" iconUrl="https://dev.folio.org/assets/jira-priority/tbd.svg">TBD</priority>
                        <status id="1" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                                        <assignee accountid="-1">Unassigned</assignee>
                                                                <reporter accountid="5ee89462f7aa140abd82d11d">Julian Ladisch</reporter>
                                    <labels>
                            <label>keep-bug</label>
                            <label>performance</label>
                            <label>platform-backlog</label>
                    </labels>
                <created>Thu, 7 May 2020 16:18:55 +0000</created>
                <updated>Fri, 13 Aug 2021 16:52:57 +0000</updated>
                                                                            <component>Continuous Integration</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                    <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="57208">RMB-613</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10144"><![CDATA[Core: Platform]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01413:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="773">CP: Roadmap backlog</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>