Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

How to create / update test records on OpenERP 7, using JMeter?

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
xmljmetertestingremote
1 Odpowiedz
6816 Widoki
Awatar
Luis Filipe Castanheira

Hi!

I'm trying to test the load response of an OpenERP module that I've been developing. I've managed to authenticate and read from my model thanks to this tutorial http://selvam4u.wordpress.com/2011/05/25/load-testing-openerp-with-jmeter/ and the kind help of Delphine Lemire!

I'd like now test the creation and update of existing records, but I can't find anywhere the syntax to do such actions. Where can I find any working example or is anyone willing to share knowledge about how to call the create and/or the write methods?

Thanks in advance!

 

 

0
Awatar
Odrzuć
Awatar
Luis Filipe Castanheira
Autor Najlepsza odpowiedź

Finally got it to work. Found a thread on Lauchpad reporting a bug on creation partners with JMeter and the code there helped me understand how this should work, so I'll leave here the XML configuration file to create records on a custom module on OpenERP.

    <?xml version='1.0'?>
    <methodCall>
        <methodName>execute</methodName>
        <params>
            <param>
                <!-- Select your database -->
                <value><string>may_9</string></value>
            </param>
            <param>
                <!-- User uid, 1, why not? -->
                <value><int>1</int></value>
            </param>
            <param>
                <!-- user login -->
                <value><string>admin</string></value>
            </param>
            <param>
                <!-- identify your object -->
                <value><string>generic.request</string></value>
            </param>
            <param>
                <!-- and your action -->
                <value><string>create</string></value>
            </param>
            <param>
                <!-- here comes the values to insert -->
                <value>
                <!-- create a struct where you identify the field name, the field type and the value you want to insert in it -->
                <struct>
                    <member>
                        <name>name</name>
                        <value><string>JMeter Request</string></value>
                    </member>
                    <member>
                        <name>subject_type</name>
                        <value><int>1</int></value>
                    </member>
                    <member>
                        <name>responsible_name</name>
                        <value><int>4</int></value>
                    </member>
                    <member>
                        <name>request_description</name>
                        <value><string>Desc</string></value>
                    </member>
                    <member>
                        <name>stating_reasons</name>
                        <value><string>stating reasons</string></value>
                    </member>
                    <member>
                        <name>expected_date</name>
                        <value><string>08/31/2014</string></value>
                    </member>
                    </struct>
                </value>
            </param>
        </params>
    </methodCall>

And that should work fine!  
Hope this helps :)

 

1
Awatar
Odrzuć
Samuddhan Joshi

Trying the code you provided in the HTTP Sampler in J Meter. I am putting the code in Body Data of the HTTP Request but it is not creating new records.

Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
Enable Counters in odoo what is the use of it Rozwiązane
xml
Awatar
Awatar
1
mar 25
2697
uploading xml for invoicing tax not taken
xml
Awatar
0
lis 24
2516
Thousand seperator
xml
Awatar
0
cze 24
2255
readonly to specific group and when the stage is in 2, 3, 4
xml
Awatar
Awatar
1
cze 24
2856
how to export everything I invoiced between 2 periods in pdf and XML?
xml
Awatar
0
paź 23
2922
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now