Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

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

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
xmljmetertestingremote
1 Balas
6828 Tampilan
Avatar
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
Avatar
Buang
Avatar
Luis Filipe Castanheira
Penulis Jawaban Terbai

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
Avatar
Buang
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.

Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
Enable Counters in odoo what is the use of it Diselesaikan
xml
Avatar
Avatar
1
Mar 25
2699
uploading xml for invoicing tax not taken
xml
Avatar
0
Nov 24
2519
Thousand seperator
xml
Avatar
0
Jun 24
2255
readonly to specific group and when the stage is in 2, 3, 4
xml
Avatar
Avatar
1
Jun 24
2856
how to export everything I invoiced between 2 periods in pdf and XML?
xml
Avatar
0
Okt 23
2925
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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