Generated by TestNG with ReportNG at 22:18 PDT on Thursday 30 June 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.559s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2022-06-30 22:33:10 |

2022-06-30 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:33:10 | ------------------------------------

2022-06-30 22:33:10 | [Mutex] waiting for: [configured:node:node-1fcd362a-e5e7-4f45-8097-8f356435e352:node-03eb65fb-8a8e-4151-b566-e14e0fab9e3c]

2022-06-30 22:33:10 | [Mutex] received everything.

2022-06-30 22:33:10 | [Mutex] isItemNotified: configured:node:node-1fcd362a-e5e7-4f45-8097-8f356435e352:node-03eb65fb-8a8e-4151-b566-e14e0fab9e3c :: true

2022-06-30 22:33:11 | [Mutex] waiting for: [received:nodes:fcf691ba-4d67-4144-a49a-cb05e4b52672:localhost]

2022-06-30 22:33:11 | [Mutex] received everything.

2022-06-30 22:33:11 | [Mutex] isItemNotified: received:node:fcf691ba-4d67-4144-a49a-cb05e4b52672:localhost:node-1fcd362a-e5e7-4f45-8097-8f356435e352:Node 1fcd362a-e5e7-4f45-8097-8f356435e352 :: true

2022-06-30 22:33:11 | [Mutex] waiting for: [received:nodes:16a8907b-cabe-4bb6-8f55-484b20b10d8d:localhost]

2022-06-30 22:33:11 | [Mutex] received everything.

2022-06-30 22:33:11 | [Mutex] isItemNotified: received:node:16a8907b-cabe-4bb6-8f55-484b20b10d8d:localhost:node-1fcd362a-e5e7-4f45-8097-8f356435e352:Node 1fcd362a-e5e7-4f45-8097-8f356435e352 :: false

createNodes 1.476s
2022-06-30 22:33:08 |

2022-06-30 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:33:08 | ------------------------------------

2022-06-30 22:33:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1fcd362a-e5e7-4f45-8097-8f356435e352</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1fcd362a-e5e7-4f45-8097-8f356435e352</title></pubsub></data>

2022-06-30 22:33:08 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-30 22:33:09 | [Mutex] waiting for: [received:nodes:ea210211-b907-4619-b63b-80cea58d1be7:localhost]

2022-06-30 22:33:09 | [Mutex] waiting for: [received:nodes:ea210211-b907-4619-b63b-80cea58d1be7:localhost]

2022-06-30 22:33:09 | [Mutex] received everything.

2022-06-30 22:33:09 | [Mutex] isItemNotified: received:node:ea210211-b907-4619-b63b-80cea58d1be7:localhost:node-1fcd362a-e5e7-4f45-8097-8f356435e352:Node 1fcd362a-e5e7-4f45-8097-8f356435e352 :: true

createSubnodes 1.030s
2022-06-30 22:33:09 |

2022-06-30 22:33:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:33:09 | ------------------------------------

2022-06-30 22:33:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-03eb65fb-8a8e-4151-b566-e14e0fab9e3c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 03eb65fb-8a8e-4151-b566-e14e0fab9e3c</title></pubsub></data>

2022-06-30 22:33:09 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-30 22:33:10 | [Mutex] waiting for: [received:nodes:557a9a81-fd8e-488d-a4e2-38d012d0e8aa:localhost]

2022-06-30 22:33:10 | [Mutex] received everything.

2022-06-30 22:33:10 | [Mutex] isItemNotified: received:node:557a9a81-fd8e-488d-a4e2-38d012d0e8aa:localhost:node-03eb65fb-8a8e-4151-b566-e14e0fab9e3c:Node 03eb65fb-8a8e-4151-b566-e14e0fab9e3c :: true

deleteNodes 1.019s
2022-06-30 22:33:16 |

2022-06-30 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:33:16 | ------------------------------------

2022-06-30 22:33:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-03eb65fb-8a8e-4151-b566-e14e0fab9e3c</node></data>

2022-06-30 22:33:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-30 22:33:17 | [Mutex] waiting for: [received:nodes:ddb61c6f-5de7-4ef7-a5c4-83006a0917a3:localhost]

2022-06-30 22:33:17 | [Mutex] received everything.

2022-06-30 22:33:17 | [Mutex] isItemNotified: received:node:ddb61c6f-5de7-4ef7-a5c4-83006a0917a3:localhost:node-03eb65fb-8a8e-4151-b566-e14e0fab9e3c:Node 03eb65fb-8a8e-4151-b566-e14e0fab9e3c :: false

deleteSubnodes 1.127s
2022-06-30 22:33:15 |

2022-06-30 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:33:15 | ------------------------------------

2022-06-30 22:33:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1fcd362a-e5e7-4f45-8097-8f356435e352</node></data>

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

2022-06-30 22:33:16 | [Mutex] waiting for: [received:nodes:db0c92ab-90e5-42fa-aab8-ce6438918b0e:localhost]

2022-06-30 22:33:16 | [Mutex] waiting for: [received:nodes:db0c92ab-90e5-42fa-aab8-ce6438918b0e:localhost]

2022-06-30 22:33:16 | [Mutex] waiting for: [received:nodes:db0c92ab-90e5-42fa-aab8-ce6438918b0e:localhost]

2022-06-30 22:33:16 | [Mutex] waiting for: [received:nodes:db0c92ab-90e5-42fa-aab8-ce6438918b0e:localhost]

2022-06-30 22:33:16 | [Mutex] received everything.

2022-06-30 22:33:16 | [Mutex] isItemNotified: received:node:db0c92ab-90e5-42fa-aab8-ce6438918b0e:localhost:node-1fcd362a-e5e7-4f45-8097-8f356435e352:Node 1fcd362a-e5e7-4f45-8097-8f356435e352 :: false

2022-06-30 22:33:16 | [Mutex] waiting for: [received:nodes:037b2361-8cdc-4748-881d-438d2fb21706:localhost]

2022-06-30 22:33:16 | [Mutex] received everything.

2022-06-30 22:33:16 | [Mutex] isItemNotified: received:node:037b2361-8cdc-4748-881d-438d2fb21706:localhost:node-1fcd362a-e5e7-4f45-8097-8f356435e352:Node 1fcd362a-e5e7-4f45-8097-8f356435e352 :: false

publishItemsToNodes 0.221s
2022-06-30 22:33:12 |

2022-06-30 22:33:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:33:12 | ------------------------------------

2022-06-30 22:33:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1fcd362a-e5e7-4f45-8097-8f356435e352</node><item-id>item-2a36a547-0239-4dc7-8a86-0981398a201d</item-id><entry><test>item-2a36a547-0239-4dc7-8a86-0981398a201d</test></entry></data>

2022-06-30 22:33: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-2a36a547-0239-4dc7-8a86-0981398a201d</value></item-id></result>

2022-06-30 22:33:13 | [Mutex] waiting for: [published:item:notifieditem-2a36a547-0239-4dc7-8a86-0981398a201d:admin@test-domain.com]

2022-06-30 22:33:13 | [Mutex] received everything.

2022-06-30 22:33:13 | [Mutex] isItemNotified: published:item:notifieditem-2a36a547-0239-4dc7-8a86-0981398a201d:admin@test-domain.com :: true

retractItemsFromNodes 0.336s
2022-06-30 22:33:13 |

2022-06-30 22:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:33:13 | ------------------------------------

2022-06-30 22:33:13 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1fcd362a-e5e7-4f45-8097-8f356435e352</node><item-id>item-2a36a547-0239-4dc7-8a86-0981398a201d</item-id></data>

2022-06-30 22:33:13 | 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-2a36a547-0239-4dc7-8a86-0981398a201d</value></item-id></result>

2022-06-30 22:33:13 | [Mutex] waiting for: [retracted:item:notifieditem-2a36a547-0239-4dc7-8a86-0981398a201d:admin@test-domain.com]

2022-06-30 22:33:13 | [Mutex] received everything.

2022-06-30 22:33:13 | [Mutex] isItemNotified: retracted:item:notifieditem-2a36a547-0239-4dc7-8a86-0981398a201d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.252s
2022-06-30 22:33:13 |

2022-06-30 22:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:33:13 | ------------------------------------

2022-06-30 22:33:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1fcd362a-e5e7-4f45-8097-8f356435e352</node><item-id>item-2a36a547-0239-4dc7-8a86-0981398a201d</item-id></data>

2022-06-30 22:33:13 | 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-1fcd362a-e5e7-4f45-8097-8f356435e352</value></node><item-id type="text-single" label="Item ID"><value>item-2a36a547-0239-4dc7-8a86-0981398a201d</value></item-id><item type="text-multi" label="Item"><value><item id="item-2a36a547-0239-4dc7-8a86-0981398a201d"><test>item-2a36a547-0239-4dc7-8a86-0981398a201d</test></item></value></item></result>

2022-06-30 22:33:13 | [Mutex] notify: [retrieved:item:item-2a36a547-0239-4dc7-8a86-0981398a201d:payload-matches:true:localhost]

2022-06-30 22:33:13 | [Mutex] received everything.

2022-06-30 22:33:13 | [Mutex] isItemNotified: retrieved:item:item-2a36a547-0239-4dc7-8a86-0981398a201d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-30 22:33:13 |

2022-06-30 22:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:33:13 | ------------------------------------

2022-06-30 22:33:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-30 22:33:13 | 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-03eb65fb-8a8e-4151-b566-e14e0fab9e3c</value><value>node-1fcd362a-e5e7-4f45-8097-8f356435e352</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-30 22:33:13 |

2022-06-30 22:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:33:13 | ------------------------------------

2022-06-30 22:33:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1fcd362a-e5e7-4f45-8097-8f356435e352)</node-pattern></data>

2022-06-30 22:33:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.109s
2022-06-30 22:33:11 |

2022-06-30 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:33:11 | ------------------------------------

2022-06-30 22:33:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1fcd362a-e5e7-4f45-8097-8f356435e352</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-30 22:33:11 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.198s
2022-06-30 22:33:13 |

2022-06-30 22:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:33:13 | ------------------------------------

2022-06-30 22:33:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1fcd362a-e5e7-4f45-8097-8f356435e352</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-30 22:33:14 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>