Service Virtualization

 View Only
  • 1.  Create custom filter

    Posted Jul 07, 2020 11:09 AM
      |   view attached
    Hi 
    I'm trying to creat custom filter for devtest 10.6.0 
    I created the java class as in the documentation but i have a problem implementing the display() and save() methods int the editor class. 
    can anyone send sample of Editor class .
    Attached my editor class  
    Thanks,

    Attachment(s)

    txt
    MyFilterEditor.txt   2 KB 1 version


  • 2.  RE: Create custom filter

    Broadcom Employee
    Posted Jul 27, 2020 10:56 AM
    Edited by Koustubh Warty Jul 27, 2020 11:00 AM
    @Surya Anil Kumar Suravarapu @Mike Gavaghan @Danny Saro @Karl Miller​​​​ - any guidance here? ​​​​​

    ------------------------------
    Head of Service Virtualization Product Management
    CA Technologies - A Broadcom Company
    ------------------------------



  • 3.  RE: Create custom filter
    Best Answer

    Posted Jul 27, 2020 12:44 PM
    Edited by Christopher Hackett Aug 18, 2020 06:12 PM
    Hi,

    I've always used the default filter editor and controller instead of creating custom ones.  Please see the attached filter as an example.

    You'd need these two lines in *.lisaextensions:

    filters=org.gavaghan.lisa.sdk.email.filter.smtp.ExtractResponsePayload

    org.gavaghan.lisa.sdk.email.filter.smtp.ExtractResponsePayload=com.itko.lisa.editor.FilterController,com.itko.lisa.editor.DefaultFilterEditor

    --Mike


    ------------------------------
    Solution Architect - Services
    HCL Technologies
    ------------------------------


  • 4.  RE: Create custom filter

    Broadcom Employee
    Posted Jul 28, 2020 12:56 AM
    @Mike Gavaghan - Thank you.​​

    ------------------------------
    Head of Service Virtualization Product Management
    CA Technologies - A Broadcom Company
    ------------------------------



  • 5.  RE: Create custom filter

    Posted Jul 28, 2020 02:36 AM
    Hi Mike,

    Is there an attachment to refer?

    Thanks

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 6.  RE: Create custom filter

    Posted Sep 28, 2020 04:36 AM
    Hi Mike,

    Is there an attachment to refer?

    Thanks

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ----------------------------

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------