Generated by TestNG with ReportNG at 22:51 CET on martes 01 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 : 11,881s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1,242s
2022-03-01 23:04:36 |

2022-03-01 23:04:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-01 23:04:36 | ------------------------------------

2022-03-01 23:04:36 | [Mutex] waiting for: [configured:node:node-b3229857-6b93-4a79-b815-8bbd282cc296:node-979552cc-e10d-4ced-bd81-3c5a308780ba]

2022-03-01 23:04:36 | [Mutex] received everything.

2022-03-01 23:04:36 | [Mutex] isItemNotified: configured:node:node-b3229857-6b93-4a79-b815-8bbd282cc296:node-979552cc-e10d-4ced-bd81-3c5a308780ba :: true

2022-03-01 23:04:37 | [Mutex] waiting for: [received:nodes:b5dab069-6810-4d57-9246-18b4bf095426:localhost]

2022-03-01 23:04:37 | [Mutex] waiting for: [received:nodes:b5dab069-6810-4d57-9246-18b4bf095426:localhost]

2022-03-01 23:04:37 | [Mutex] received everything.

2022-03-01 23:04:37 | [Mutex] isItemNotified: received:node:b5dab069-6810-4d57-9246-18b4bf095426:localhost:node-b3229857-6b93-4a79-b815-8bbd282cc296:Node b3229857-6b93-4a79-b815-8bbd282cc296 :: true

2022-03-01 23:04:37 | [Mutex] waiting for: [received:nodes:7ba5befd-713c-493f-bc0d-88f137034971:localhost]

2022-03-01 23:04:37 | [Mutex] waiting for: [received:nodes:7ba5befd-713c-493f-bc0d-88f137034971:localhost]

2022-03-01 23:04:37 | [Mutex] waiting for: [received:nodes:7ba5befd-713c-493f-bc0d-88f137034971:localhost]

2022-03-01 23:04:37 | [Mutex] received everything.

2022-03-01 23:04:37 | [Mutex] isItemNotified: received:node:7ba5befd-713c-493f-bc0d-88f137034971:localhost:node-b3229857-6b93-4a79-b815-8bbd282cc296:Node b3229857-6b93-4a79-b815-8bbd282cc296 :: false

createNodes 2,484s
2022-03-01 23:04:32 |

2022-03-01 23:04:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-01 23:04:32 | ------------------------------------

2022-03-01 23:04:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b3229857-6b93-4a79-b815-8bbd282cc296</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b3229857-6b93-4a79-b815-8bbd282cc296</title></pubsub></data>

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

2022-03-01 23:04:34 | [Mutex] waiting for: [received:nodes:1d17c166-f33e-4afa-939b-6aba6d6a766f:localhost]

2022-03-01 23:04:34 | [Mutex] waiting for: [received:nodes:1d17c166-f33e-4afa-939b-6aba6d6a766f:localhost]

2022-03-01 23:04:34 | [Mutex] waiting for: [received:nodes:1d17c166-f33e-4afa-939b-6aba6d6a766f:localhost]

2022-03-01 23:04:34 | [Mutex] received everything.

2022-03-01 23:04:34 | [Mutex] isItemNotified: received:node:1d17c166-f33e-4afa-939b-6aba6d6a766f:localhost:node-b3229857-6b93-4a79-b815-8bbd282cc296:Node b3229857-6b93-4a79-b815-8bbd282cc296 :: true

createSubnodes 1,139s
2022-03-01 23:04:34 |

2022-03-01 23:04:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-01 23:04:34 | ------------------------------------

2022-03-01 23:04:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-979552cc-e10d-4ced-bd81-3c5a308780ba</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 979552cc-e10d-4ced-bd81-3c5a308780ba</title></pubsub></data>

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

2022-03-01 23:04:35 | [Mutex] waiting for: [received:nodes:ea2ae72c-dc5b-4503-8aee-8098ad23449e:localhost]

2022-03-01 23:04:35 | [Mutex] waiting for: [received:nodes:ea2ae72c-dc5b-4503-8aee-8098ad23449e:localhost]

2022-03-01 23:04:36 | [Mutex] received everything.

2022-03-01 23:04:36 | [Mutex] isItemNotified: received:node:ea2ae72c-dc5b-4503-8aee-8098ad23449e:localhost:node-979552cc-e10d-4ced-bd81-3c5a308780ba:Node 979552cc-e10d-4ced-bd81-3c5a308780ba :: true

deleteNodes 1,076s
2022-03-01 23:04:42 |

2022-03-01 23:04:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-01 23:04:42 | ------------------------------------

2022-03-01 23:04:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-979552cc-e10d-4ced-bd81-3c5a308780ba</node></data>

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

2022-03-01 23:04:43 | [Mutex] waiting for: [received:nodes:284fa651-bf72-4e57-9a81-eb4022289529:localhost]

2022-03-01 23:04:43 | [Mutex] waiting for: [received:nodes:284fa651-bf72-4e57-9a81-eb4022289529:localhost]

2022-03-01 23:04:43 | [Mutex] received everything.

2022-03-01 23:04:43 | [Mutex] isItemNotified: received:node:284fa651-bf72-4e57-9a81-eb4022289529:localhost:node-979552cc-e10d-4ced-bd81-3c5a308780ba:Node 979552cc-e10d-4ced-bd81-3c5a308780ba :: false

deleteSubnodes 1,362s
2022-03-01 23:04:41 |

2022-03-01 23:04:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-01 23:04:41 | ------------------------------------

2022-03-01 23:04:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b3229857-6b93-4a79-b815-8bbd282cc296</node></data>

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

2022-03-01 23:04:42 | [Mutex] waiting for: [received:nodes:c0b759fe-cee6-41ca-871f-f5fa7684ef2c:localhost]

2022-03-01 23:04:42 | [Mutex] waiting for: [received:nodes:c0b759fe-cee6-41ca-871f-f5fa7684ef2c:localhost]

2022-03-01 23:04:42 | [Mutex] waiting for: [received:nodes:c0b759fe-cee6-41ca-871f-f5fa7684ef2c:localhost]

2022-03-01 23:04:42 | [Mutex] received everything.

2022-03-01 23:04:42 | [Mutex] isItemNotified: received:node:c0b759fe-cee6-41ca-871f-f5fa7684ef2c:localhost:node-b3229857-6b93-4a79-b815-8bbd282cc296:Node b3229857-6b93-4a79-b815-8bbd282cc296 :: false

2022-03-01 23:04:42 | [Mutex] waiting for: [received:nodes:b853fc1b-4abc-4814-a0e8-b41690c1245a:localhost]

2022-03-01 23:04:42 | [Mutex] received everything.

2022-03-01 23:04:42 | [Mutex] isItemNotified: received:node:b853fc1b-4abc-4814-a0e8-b41690c1245a:localhost:node-b3229857-6b93-4a79-b815-8bbd282cc296:Node b3229857-6b93-4a79-b815-8bbd282cc296 :: false

publishItemsToNodes 0,765s
2022-03-01 23:04:38 |

2022-03-01 23:04:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-01 23:04:38 | ------------------------------------

2022-03-01 23:04:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b3229857-6b93-4a79-b815-8bbd282cc296</node><item-id>item-9715672e-fd51-465a-9f79-14d43cd9fe6f</item-id><entry><test>item-9715672e-fd51-465a-9f79-14d43cd9fe6f</test></entry></data>

2022-03-01 23:04:39 | 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-9715672e-fd51-465a-9f79-14d43cd9fe6f</value></item-id></result>

2022-03-01 23:04:39 | [Mutex] waiting for: [published:item:notifieditem-9715672e-fd51-465a-9f79-14d43cd9fe6f:admin@test-domain.com]

2022-03-01 23:04:39 | [Mutex] received everything.

2022-03-01 23:04:39 | [Mutex] isItemNotified: published:item:notifieditem-9715672e-fd51-465a-9f79-14d43cd9fe6f:admin@test-domain.com :: true

retractItemsFromNodes 0,311s
2022-03-01 23:04:39 |

2022-03-01 23:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-01 23:04:39 | ------------------------------------

2022-03-01 23:04:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b3229857-6b93-4a79-b815-8bbd282cc296</node><item-id>item-9715672e-fd51-465a-9f79-14d43cd9fe6f</item-id></data>

2022-03-01 23:04:39 | 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-9715672e-fd51-465a-9f79-14d43cd9fe6f</value></item-id></result>

2022-03-01 23:04:39 | [Mutex] waiting for: [retracted:item:notifieditem-9715672e-fd51-465a-9f79-14d43cd9fe6f:admin@test-domain.com]

2022-03-01 23:04:39 | [Mutex] received everything.

2022-03-01 23:04:39 | [Mutex] isItemNotified: retracted:item:notifieditem-9715672e-fd51-465a-9f79-14d43cd9fe6f:admin@test-domain.com :: true

retrieveItemsFromNodes 0,259s
2022-03-01 23:04:39 |

2022-03-01 23:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-01 23:04:39 | ------------------------------------

2022-03-01 23:04:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b3229857-6b93-4a79-b815-8bbd282cc296</node><item-id>item-9715672e-fd51-465a-9f79-14d43cd9fe6f</item-id></data>

2022-03-01 23:04:39 | 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-b3229857-6b93-4a79-b815-8bbd282cc296</value></node><item-id type="text-single" label="Item ID"><value>item-9715672e-fd51-465a-9f79-14d43cd9fe6f</value></item-id><item type="text-multi" label="Item"><value><item id="item-9715672e-fd51-465a-9f79-14d43cd9fe6f"><test>item-9715672e-fd51-465a-9f79-14d43cd9fe6f</test></item></value></item></result>

2022-03-01 23:04:39 | [Mutex] notify: [retrieved:item:item-9715672e-fd51-465a-9f79-14d43cd9fe6f:payload-matches:true:localhost]

2022-03-01 23:04:39 | [Mutex] received everything.

2022-03-01 23:04:39 | [Mutex] isItemNotified: retrieved:item:item-9715672e-fd51-465a-9f79-14d43cd9fe6f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0,025s
2022-03-01 23:04:39 |

2022-03-01 23:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-01 23:04:39 | ------------------------------------

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

2022-03-01 23:04:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-b3229857-6b93-4a79-b815-8bbd282cc296</value><value>node-979552cc-e10d-4ced-bd81-3c5a308780ba</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0,033s
2022-03-01 23:04:39 |

2022-03-01 23:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-01 23:04:39 | ------------------------------------

2022-03-01 23:04:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b3229857-6b93-4a79-b815-8bbd282cc296)</node-pattern></data>

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

subscribeNodes 1,338s
2022-03-01 23:04:37 |

2022-03-01 23:04:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-01 23:04:37 | ------------------------------------

2022-03-01 23:04:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b3229857-6b93-4a79-b815-8bbd282cc296</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1,208s
2022-03-01 23:04:40 |

2022-03-01 23:04:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-01 23:04:40 | ------------------------------------

2022-03-01 23:04:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b3229857-6b93-4a79-b815-8bbd282cc296</node><jids><value>admin@test-domain.com</value></jids></data>

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