Generated by TestNG with ReportNG at 23:33 CET on miƩrcoles 02 marzo 2022
wojtek@atlantiscity.local / Java 11.0.14.1 (Eclipse Adoptium) / Mac OS X 12.2.1 (x86_64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10,886s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1,143s
2022-03-02 23:46:10 |

2022-03-02 23:46:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 23:46:10 | ------------------------------------

2022-03-02 23:46:10 | [Mutex] waiting for: [configured:node:node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab:node-54d9773f-238d-447d-ba85-f59af126fd1f]

2022-03-02 23:46:10 | [Mutex] received everything.

2022-03-02 23:46:10 | [Mutex] isItemNotified: configured:node:node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab:node-54d9773f-238d-447d-ba85-f59af126fd1f :: true

2022-03-02 23:46:11 | [Mutex] waiting for: [received:nodes:e5585abe-b192-43a2-bb93-b8029f9aff63:localhost]

2022-03-02 23:46:11 | [Mutex] received everything.

2022-03-02 23:46:11 | [Mutex] isItemNotified: received:node:e5585abe-b192-43a2-bb93-b8029f9aff63:localhost:node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab:Node 3a9f7486-c07b-44e9-bbaf-908a40a9f5ab :: true

2022-03-02 23:46:11 | [Mutex] waiting for: [received:nodes:984dccae-5457-4c56-9eca-f35a71aab321:localhost]

2022-03-02 23:46:12 | [Mutex] received everything.

2022-03-02 23:46:12 | [Mutex] isItemNotified: received:node:984dccae-5457-4c56-9eca-f35a71aab321:localhost:node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab:Node 3a9f7486-c07b-44e9-bbaf-908a40a9f5ab :: false

createNodes 2,088s
2022-03-02 23:46:07 |

2022-03-02 23:46:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 23:46:07 | ------------------------------------

2022-03-02 23:46:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3a9f7486-c07b-44e9-bbaf-908a40a9f5ab</title></pubsub></data>

2022-03-02 23:46:08 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-02 23:46:09 | [Mutex] waiting for: [received:nodes:868c0d1c-b656-4449-9e19-a79f8d6f15f6:localhost]

2022-03-02 23:46:09 | [Mutex] received everything.

2022-03-02 23:46:09 | [Mutex] isItemNotified: received:node:868c0d1c-b656-4449-9e19-a79f8d6f15f6:localhost:node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab:Node 3a9f7486-c07b-44e9-bbaf-908a40a9f5ab :: true

createSubnodes 1,082s
2022-03-02 23:46:09 |

2022-03-02 23:46:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 23:46:09 | ------------------------------------

2022-03-02 23:46:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-54d9773f-238d-447d-ba85-f59af126fd1f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 54d9773f-238d-447d-ba85-f59af126fd1f</title></pubsub></data>

2022-03-02 23:46:09 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-02 23:46:10 | [Mutex] waiting for: [received:nodes:a6f45470-c966-45ac-872e-e90bc666b982:localhost]

2022-03-02 23:46:10 | [Mutex] received everything.

2022-03-02 23:46:10 | [Mutex] isItemNotified: received:node:a6f45470-c966-45ac-872e-e90bc666b982:localhost:node-54d9773f-238d-447d-ba85-f59af126fd1f:Node 54d9773f-238d-447d-ba85-f59af126fd1f :: true

deleteNodes 1,054s
2022-03-02 23:46:17 |

2022-03-02 23:46:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 23:46:17 | ------------------------------------

2022-03-02 23:46:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-54d9773f-238d-447d-ba85-f59af126fd1f</node></data>

2022-03-02 23:46:17 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-02 23:46:18 | [Mutex] waiting for: [received:nodes:5da08117-bee9-4412-8f07-446bb1db0493:localhost]

2022-03-02 23:46:18 | [Mutex] received everything.

2022-03-02 23:46:18 | [Mutex] isItemNotified: received:node:5da08117-bee9-4412-8f07-446bb1db0493:localhost:node-54d9773f-238d-447d-ba85-f59af126fd1f:Node 54d9773f-238d-447d-ba85-f59af126fd1f :: false

deleteSubnodes 1,282s
2022-03-02 23:46:15 |

2022-03-02 23:46:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 23:46:15 | ------------------------------------

2022-03-02 23:46:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab</node></data>

2022-03-02 23:46:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-02 23:46:16 | [Mutex] waiting for: [received:nodes:a00fa674-d193-4f9e-a7e8-65a9f9f0fcad:localhost]

2022-03-02 23:46:17 | [Mutex] waiting for: [received:nodes:a00fa674-d193-4f9e-a7e8-65a9f9f0fcad:localhost]

2022-03-02 23:46:17 | [Mutex] received everything.

2022-03-02 23:46:17 | [Mutex] isItemNotified: received:node:a00fa674-d193-4f9e-a7e8-65a9f9f0fcad:localhost:node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab:Node 3a9f7486-c07b-44e9-bbaf-908a40a9f5ab :: false

2022-03-02 23:46:17 | [Mutex] waiting for: [received:nodes:0017150c-0781-4398-8abc-cc99347e6de0:localhost]

2022-03-02 23:46:17 | [Mutex] received everything.

2022-03-02 23:46:17 | [Mutex] isItemNotified: received:node:0017150c-0781-4398-8abc-cc99347e6de0:localhost:node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab:Node 3a9f7486-c07b-44e9-bbaf-908a40a9f5ab :: false

publishItemsToNodes 0,475s
2022-03-02 23:46:13 |

2022-03-02 23:46:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 23:46:13 | ------------------------------------

2022-03-02 23:46:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab</node><item-id>item-a3ae2f8f-0218-4f6a-95f6-4627c63232e5</item-id><entry><test>item-a3ae2f8f-0218-4f6a-95f6-4627c63232e5</test></entry></data>

2022-03-02 23:46:13 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-a3ae2f8f-0218-4f6a-95f6-4627c63232e5</value></item-id></result>

2022-03-02 23:46:13 | [Mutex] waiting for: [published:item:notifieditem-a3ae2f8f-0218-4f6a-95f6-4627c63232e5:admin@test-domain.com]

2022-03-02 23:46:13 | [Mutex] received everything.

2022-03-02 23:46:13 | [Mutex] isItemNotified: published:item:notifieditem-a3ae2f8f-0218-4f6a-95f6-4627c63232e5:admin@test-domain.com :: true

retractItemsFromNodes 0,284s
2022-03-02 23:46:14 |

2022-03-02 23:46:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 23:46:14 | ------------------------------------

2022-03-02 23:46:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab</node><item-id>item-a3ae2f8f-0218-4f6a-95f6-4627c63232e5</item-id></data>

2022-03-02 23:46:14 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-a3ae2f8f-0218-4f6a-95f6-4627c63232e5</value></item-id></result>

2022-03-02 23:46:14 | [Mutex] waiting for: [retracted:item:notifieditem-a3ae2f8f-0218-4f6a-95f6-4627c63232e5:admin@test-domain.com]

2022-03-02 23:46:14 | [Mutex] received everything.

2022-03-02 23:46:14 | [Mutex] isItemNotified: retracted:item:notifieditem-a3ae2f8f-0218-4f6a-95f6-4627c63232e5:admin@test-domain.com :: true

retrieveItemsFromNodes 0,376s
2022-03-02 23:46:13 |

2022-03-02 23:46:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 23:46:13 | ------------------------------------

2022-03-02 23:46:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab</node><item-id>item-a3ae2f8f-0218-4f6a-95f6-4627c63232e5</item-id></data>

2022-03-02 23:46:14 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab</value></node><item-id type="text-single" label="Item ID"><value>item-a3ae2f8f-0218-4f6a-95f6-4627c63232e5</value></item-id><item type="text-multi" label="Item"><value><item id="item-a3ae2f8f-0218-4f6a-95f6-4627c63232e5"><test>item-a3ae2f8f-0218-4f6a-95f6-4627c63232e5</test></item></value></item></result>

2022-03-02 23:46:14 | [Mutex] notify: [retrieved:item:item-a3ae2f8f-0218-4f6a-95f6-4627c63232e5:payload-matches:true:localhost]

2022-03-02 23:46:14 | [Mutex] received everything.

2022-03-02 23:46:14 | [Mutex] isItemNotified: retrieved:item:item-a3ae2f8f-0218-4f6a-95f6-4627c63232e5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0,021s
2022-03-02 23:46:14 |

2022-03-02 23:46:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 23:46:14 | ------------------------------------

2022-03-02 23:46:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-03-02 23:46:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab</value><value>node-54d9773f-238d-447d-ba85-f59af126fd1f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0,033s
2022-03-02 23:46:14 |

2022-03-02 23:46:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 23:46:14 | ------------------------------------

2022-03-02 23:46:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab)</node-pattern></data>

2022-03-02 23:46:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1,330s
2022-03-02 23:46:12 |

2022-03-02 23:46:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 23:46:12 | ------------------------------------

2022-03-02 23:46:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab</node><jids><value>admin@test-domain.com</value></jids></data>

2022-03-02 23:46:12 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1,213s
2022-03-02 23:46:14 |

2022-03-02 23:46:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-02 23:46:14 | ------------------------------------

2022-03-02 23:46:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3a9f7486-c07b-44e9-bbaf-908a40a9f5ab</node><jids><value>admin@test-domain.com</value></jids></data>

2022-03-02 23:46:14 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>