Generated by TestNG with ReportNG at 14:51 CET on jueves 03 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,016s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1,157s
2022-03-03 15:04:59 |

2022-03-03 15:04:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-03 15:04:59 | ------------------------------------

2022-03-03 15:04:59 | [Mutex] waiting for: [configured:node:node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df:node-fb5347c1-80ef-4fdb-a0ea-f3798b11757a]

2022-03-03 15:04:59 | [Mutex] received everything.

2022-03-03 15:04:59 | [Mutex] isItemNotified: configured:node:node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df:node-fb5347c1-80ef-4fdb-a0ea-f3798b11757a :: true

2022-03-03 15:05:00 | [Mutex] waiting for: [received:nodes:7d5643d9-7dba-4dbb-a324-60d6ffac6d11:localhost]

2022-03-03 15:05:00 | [Mutex] received everything.

2022-03-03 15:05:00 | [Mutex] isItemNotified: received:node:7d5643d9-7dba-4dbb-a324-60d6ffac6d11:localhost:node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df:Node c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df :: true

2022-03-03 15:05:00 | [Mutex] waiting for: [received:nodes:dc47aa1a-c7b8-4caf-858a-21e93bf6830a:localhost]

2022-03-03 15:05:00 | [Mutex] waiting for: [received:nodes:dc47aa1a-c7b8-4caf-858a-21e93bf6830a:localhost]

2022-03-03 15:05:00 | [Mutex] received everything.

2022-03-03 15:05:00 | [Mutex] isItemNotified: received:node:dc47aa1a-c7b8-4caf-858a-21e93bf6830a:localhost:node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df:Node c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df :: false

createNodes 2,082s
2022-03-03 15:04:55 |

2022-03-03 15:04:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-03 15:04:55 | ------------------------------------

2022-03-03 15:04:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df</title></pubsub></data>

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

2022-03-03 15:04:57 | [Mutex] waiting for: [received:nodes:bd07206c-0d62-4bf2-8104-3efe2df59dd2:localhost]

2022-03-03 15:04:57 | [Mutex] waiting for: [received:nodes:bd07206c-0d62-4bf2-8104-3efe2df59dd2:localhost]

2022-03-03 15:04:57 | [Mutex] waiting for: [received:nodes:bd07206c-0d62-4bf2-8104-3efe2df59dd2:localhost]

2022-03-03 15:04:57 | [Mutex] received everything.

2022-03-03 15:04:57 | [Mutex] isItemNotified: received:node:bd07206c-0d62-4bf2-8104-3efe2df59dd2:localhost:node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df:Node c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df :: true

createSubnodes 1,096s
2022-03-03 15:04:58 |

2022-03-03 15:04:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-03 15:04:58 | ------------------------------------

2022-03-03 15:04:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fb5347c1-80ef-4fdb-a0ea-f3798b11757a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fb5347c1-80ef-4fdb-a0ea-f3798b11757a</title></pubsub></data>

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

2022-03-03 15:04:59 | [Mutex] waiting for: [received:nodes:6b141329-7f2d-4991-adce-f1b9e044db18:localhost]

2022-03-03 15:04:59 | [Mutex] waiting for: [received:nodes:6b141329-7f2d-4991-adce-f1b9e044db18:localhost]

2022-03-03 15:04:59 | [Mutex] waiting for: [received:nodes:6b141329-7f2d-4991-adce-f1b9e044db18:localhost]

2022-03-03 15:04:59 | [Mutex] received everything.

2022-03-03 15:04:59 | [Mutex] isItemNotified: received:node:6b141329-7f2d-4991-adce-f1b9e044db18:localhost:node-fb5347c1-80ef-4fdb-a0ea-f3798b11757a:Node fb5347c1-80ef-4fdb-a0ea-f3798b11757a :: true

deleteNodes 1,067s
2022-03-03 15:05:05 |

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

2022-03-03 15:05:05 | ------------------------------------

2022-03-03 15:05:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fb5347c1-80ef-4fdb-a0ea-f3798b11757a</node></data>

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

2022-03-03 15:05:06 | [Mutex] waiting for: [received:nodes:5726bbaa-af52-47d6-a5d3-ad6fdcbde6c2:localhost]

2022-03-03 15:05:06 | [Mutex] received everything.

2022-03-03 15:05:06 | [Mutex] isItemNotified: received:node:5726bbaa-af52-47d6-a5d3-ad6fdcbde6c2:localhost:node-fb5347c1-80ef-4fdb-a0ea-f3798b11757a:Node fb5347c1-80ef-4fdb-a0ea-f3798b11757a :: false

deleteSubnodes 1,300s
2022-03-03 15:05:03 |

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

2022-03-03 15:05:03 | ------------------------------------

2022-03-03 15:05:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df</node></data>

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

2022-03-03 15:05:05 | [Mutex] waiting for: [received:nodes:9dcfac94-b871-4361-962f-5059b333ca5e:localhost]

2022-03-03 15:05:05 | [Mutex] waiting for: [received:nodes:9dcfac94-b871-4361-962f-5059b333ca5e:localhost]

2022-03-03 15:05:05 | [Mutex] received everything.

2022-03-03 15:05:05 | [Mutex] isItemNotified: received:node:9dcfac94-b871-4361-962f-5059b333ca5e:localhost:node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df:Node c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df :: false

2022-03-03 15:05:05 | [Mutex] waiting for: [received:nodes:473b2fe2-111a-4629-833f-19e28c6c0d23:localhost]

2022-03-03 15:05:05 | [Mutex] received everything.

2022-03-03 15:05:05 | [Mutex] isItemNotified: received:node:473b2fe2-111a-4629-833f-19e28c6c0d23:localhost:node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df:Node c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df :: false

publishItemsToNodes 0,434s
2022-03-03 15:05:01 |

2022-03-03 15:05:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-03 15:05:01 | ------------------------------------

2022-03-03 15:05:01 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df</node><item-id>item-d256135a-65c8-4bf4-9a18-548f4972a804</item-id><entry><test>item-d256135a-65c8-4bf4-9a18-548f4972a804</test></entry></data>

2022-03-03 15:05:02 | 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-d256135a-65c8-4bf4-9a18-548f4972a804</value></item-id></result>

2022-03-03 15:05:02 | [Mutex] received everything.

2022-03-03 15:05:02 | [Mutex] isItemNotified: published:item:notifieditem-d256135a-65c8-4bf4-9a18-548f4972a804:admin@test-domain.com :: true

retractItemsFromNodes 0,340s
2022-03-03 15:05:02 |

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

2022-03-03 15:05:02 | ------------------------------------

2022-03-03 15:05:02 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df</node><item-id>item-d256135a-65c8-4bf4-9a18-548f4972a804</item-id></data>

2022-03-03 15:05:02 | 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-d256135a-65c8-4bf4-9a18-548f4972a804</value></item-id></result>

2022-03-03 15:05:02 | [Mutex] waiting for: [retracted:item:notifieditem-d256135a-65c8-4bf4-9a18-548f4972a804:admin@test-domain.com]

2022-03-03 15:05:02 | [Mutex] received everything.

2022-03-03 15:05:02 | [Mutex] isItemNotified: retracted:item:notifieditem-d256135a-65c8-4bf4-9a18-548f4972a804:admin@test-domain.com :: true

retrieveItemsFromNodes 0,281s
2022-03-03 15:05:02 |

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

2022-03-03 15:05:02 | ------------------------------------

2022-03-03 15:05:02 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df</node><item-id>item-d256135a-65c8-4bf4-9a18-548f4972a804</item-id></data>

2022-03-03 15:05:02 | 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-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df</value></node><item-id type="text-single" label="Item ID"><value>item-d256135a-65c8-4bf4-9a18-548f4972a804</value></item-id><item type="text-multi" label="Item"><value><item id="item-d256135a-65c8-4bf4-9a18-548f4972a804"><test>item-d256135a-65c8-4bf4-9a18-548f4972a804</test></item></value></item></result>

2022-03-03 15:05:02 | [Mutex] notify: [retrieved:item:item-d256135a-65c8-4bf4-9a18-548f4972a804:payload-matches:true:localhost]

2022-03-03 15:05:02 | [Mutex] received everything.

2022-03-03 15:05:02 | [Mutex] isItemNotified: retrieved:item:item-d256135a-65c8-4bf4-9a18-548f4972a804:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0,031s
2022-03-03 15:05:02 |

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

2022-03-03 15:05:02 | ------------------------------------

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

2022-03-03 15:05:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-fb5347c1-80ef-4fdb-a0ea-f3798b11757a</value><value>test</value><value>node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0,039s
2022-03-03 15:05:02 |

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

2022-03-03 15:05:02 | ------------------------------------

2022-03-03 15:05:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df)</node-pattern></data>

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

subscribeNodes 1,376s
2022-03-03 15:05:00 |

2022-03-03 15:05:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-03 15:05:00 | ------------------------------------

2022-03-03 15:05:00 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1,229s
2022-03-03 15:05:02 |

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

2022-03-03 15:05:02 | ------------------------------------

2022-03-03 15:05:02 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c65c5fd3-6a9b-4abd-becd-0d20e0eaa3df</node><jids><value>admin@test-domain.com</value></jids></data>

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