Generated by TestNG with ReportNG at 21:29 PST on Wednesday 01 February 2023
root@7c41cec37518 / 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.416s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2023-02-01 21:45:06 |

2023-02-01 21:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:45:06 | ------------------------------------

2023-02-01 21:45:06 | [Mutex] waiting for: [configured:node:node-581ec1a2-f398-4197-a62e-de5231e52044:node-f0a63280-a8b8-427a-aef9-cd494a3c75b6]

2023-02-01 21:45:06 | [Mutex] received everything.

2023-02-01 21:45:06 | [Mutex] isItemNotified: configured:node:node-581ec1a2-f398-4197-a62e-de5231e52044:node-f0a63280-a8b8-427a-aef9-cd494a3c75b6 :: true

2023-02-01 21:45:07 | [Mutex] waiting for: [received:nodes:17650462-3bab-4900-a10d-1f174e0a71ef:localhost]

2023-02-01 21:45:08 | [Mutex] received everything.

2023-02-01 21:45:08 | [Mutex] isItemNotified: received:node:17650462-3bab-4900-a10d-1f174e0a71ef:localhost:node-581ec1a2-f398-4197-a62e-de5231e52044:Node 581ec1a2-f398-4197-a62e-de5231e52044 :: true

2023-02-01 21:45:08 | [Mutex] waiting for: [received:nodes:0ae0ab35-a6e2-4b52-8798-2c8d758580ce:localhost]

2023-02-01 21:45:08 | [Mutex] waiting for: [received:nodes:0ae0ab35-a6e2-4b52-8798-2c8d758580ce:localhost]

2023-02-01 21:45:08 | [Mutex] waiting for: [received:nodes:0ae0ab35-a6e2-4b52-8798-2c8d758580ce:localhost]

2023-02-01 21:45:08 | [Mutex] waiting for: [received:nodes:0ae0ab35-a6e2-4b52-8798-2c8d758580ce:localhost]

2023-02-01 21:45:08 | [Mutex] received everything.

2023-02-01 21:45:08 | [Mutex] isItemNotified: received:node:0ae0ab35-a6e2-4b52-8798-2c8d758580ce:localhost:node-581ec1a2-f398-4197-a62e-de5231e52044:Node 581ec1a2-f398-4197-a62e-de5231e52044 :: false

createNodes 1.373s
2023-02-01 21:45:04 |

2023-02-01 21:45:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:45:04 | ------------------------------------

2023-02-01 21:45:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-581ec1a2-f398-4197-a62e-de5231e52044</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 581ec1a2-f398-4197-a62e-de5231e52044</title></pubsub></data>

2023-02-01 21:45:04 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-01 21:45:05 | [Mutex] waiting for: [received:nodes:8d36a33b-2681-49f7-aba0-c18f208cf48b:localhost]

2023-02-01 21:45:05 | [Mutex] waiting for: [received:nodes:8d36a33b-2681-49f7-aba0-c18f208cf48b:localhost]

2023-02-01 21:45:05 | [Mutex] received everything.

2023-02-01 21:45:05 | [Mutex] isItemNotified: received:node:8d36a33b-2681-49f7-aba0-c18f208cf48b:localhost:node-581ec1a2-f398-4197-a62e-de5231e52044:Node 581ec1a2-f398-4197-a62e-de5231e52044 :: true

createSubnodes 1.030s
2023-02-01 21:45:05 |

2023-02-01 21:45:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:45:05 | ------------------------------------

2023-02-01 21:45:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f0a63280-a8b8-427a-aef9-cd494a3c75b6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f0a63280-a8b8-427a-aef9-cd494a3c75b6</title></pubsub></data>

2023-02-01 21:45:05 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-01 21:45:06 | [Mutex] waiting for: [received:nodes:65c54679-f81c-40a8-b881-70c1ac46441a:localhost]

2023-02-01 21:45:06 | [Mutex] waiting for: [received:nodes:65c54679-f81c-40a8-b881-70c1ac46441a:localhost]

2023-02-01 21:45:06 | [Mutex] waiting for: [received:nodes:65c54679-f81c-40a8-b881-70c1ac46441a:localhost]

2023-02-01 21:45:06 | [Mutex] waiting for: [received:nodes:65c54679-f81c-40a8-b881-70c1ac46441a:localhost]

2023-02-01 21:45:06 | [Mutex] waiting for: [received:nodes:65c54679-f81c-40a8-b881-70c1ac46441a:localhost]

2023-02-01 21:45:06 | [Mutex] received everything.

2023-02-01 21:45:06 | [Mutex] isItemNotified: received:node:65c54679-f81c-40a8-b881-70c1ac46441a:localhost:node-f0a63280-a8b8-427a-aef9-cd494a3c75b6:Node f0a63280-a8b8-427a-aef9-cd494a3c75b6 :: true

deleteNodes 1.025s
2023-02-01 21:45:12 |

2023-02-01 21:45:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:45:12 | ------------------------------------

2023-02-01 21:45:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f0a63280-a8b8-427a-aef9-cd494a3c75b6</node></data>

2023-02-01 21:45:12 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-01 21:45:13 | [Mutex] waiting for: [received:nodes:4ae420d6-4232-4364-a7bb-f6af922bf60e:localhost]

2023-02-01 21:45:13 | [Mutex] waiting for: [received:nodes:4ae420d6-4232-4364-a7bb-f6af922bf60e:localhost]

2023-02-01 21:45:13 | [Mutex] waiting for: [received:nodes:4ae420d6-4232-4364-a7bb-f6af922bf60e:localhost]

2023-02-01 21:45:13 | [Mutex] received everything.

2023-02-01 21:45:13 | [Mutex] isItemNotified: received:node:4ae420d6-4232-4364-a7bb-f6af922bf60e:localhost:node-f0a63280-a8b8-427a-aef9-cd494a3c75b6:Node f0a63280-a8b8-427a-aef9-cd494a3c75b6 :: false

deleteSubnodes 1.151s
2023-02-01 21:45:11 |

2023-02-01 21:45:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:45:11 | ------------------------------------

2023-02-01 21:45:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-581ec1a2-f398-4197-a62e-de5231e52044</node></data>

2023-02-01 21:45:11 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-01 21:45:12 | [Mutex] waiting for: [received:nodes:86574d08-72af-46bb-85b4-2fda0698d4cd:localhost]

2023-02-01 21:45:12 | [Mutex] waiting for: [received:nodes:86574d08-72af-46bb-85b4-2fda0698d4cd:localhost]

2023-02-01 21:45:12 | [Mutex] waiting for: [received:nodes:86574d08-72af-46bb-85b4-2fda0698d4cd:localhost]

2023-02-01 21:45:12 | [Mutex] waiting for: [received:nodes:86574d08-72af-46bb-85b4-2fda0698d4cd:localhost]

2023-02-01 21:45:12 | [Mutex] received everything.

2023-02-01 21:45:12 | [Mutex] isItemNotified: received:node:86574d08-72af-46bb-85b4-2fda0698d4cd:localhost:node-581ec1a2-f398-4197-a62e-de5231e52044:Node 581ec1a2-f398-4197-a62e-de5231e52044 :: false

2023-02-01 21:45:12 | [Mutex] waiting for: [received:nodes:f8f49a63-3ab4-4b34-a610-669ef6b73671:localhost]

2023-02-01 21:45:12 | [Mutex] received everything.

2023-02-01 21:45:12 | [Mutex] isItemNotified: received:node:f8f49a63-3ab4-4b34-a610-669ef6b73671:localhost:node-581ec1a2-f398-4197-a62e-de5231e52044:Node 581ec1a2-f398-4197-a62e-de5231e52044 :: false

publishItemsToNodes 0.201s
2023-02-01 21:45:09 |

2023-02-01 21:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:45:09 | ------------------------------------

2023-02-01 21:45:09 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-581ec1a2-f398-4197-a62e-de5231e52044</node><item-id>item-1ff7f987-6eaf-4282-bb48-1e77403f2b06</item-id><entry><test>item-1ff7f987-6eaf-4282-bb48-1e77403f2b06</test></entry></data>

2023-02-01 21:45:09 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-1ff7f987-6eaf-4282-bb48-1e77403f2b06</value></item-id></result>

2023-02-01 21:45:09 | [Mutex] received everything.

2023-02-01 21:45:09 | [Mutex] isItemNotified: published:item:notifieditem-1ff7f987-6eaf-4282-bb48-1e77403f2b06:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2023-02-01 21:45:09 |

2023-02-01 21:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:45:09 | ------------------------------------

2023-02-01 21:45:09 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-581ec1a2-f398-4197-a62e-de5231e52044</node><item-id>item-1ff7f987-6eaf-4282-bb48-1e77403f2b06</item-id></data>

2023-02-01 21:45:09 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-1ff7f987-6eaf-4282-bb48-1e77403f2b06</value></item-id></result>

2023-02-01 21:45:09 | [Mutex] received everything.

2023-02-01 21:45:09 | [Mutex] isItemNotified: retracted:item:notifieditem-1ff7f987-6eaf-4282-bb48-1e77403f2b06:admin@test-domain.com :: true

retrieveItemsFromNodes 0.266s
2023-02-01 21:45:09 |

2023-02-01 21:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:45:09 | ------------------------------------

2023-02-01 21:45:09 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-581ec1a2-f398-4197-a62e-de5231e52044</node><item-id>item-1ff7f987-6eaf-4282-bb48-1e77403f2b06</item-id></data>

2023-02-01 21:45:09 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-581ec1a2-f398-4197-a62e-de5231e52044</value></node><item-id label="Item ID" type="text-single"><value>item-1ff7f987-6eaf-4282-bb48-1e77403f2b06</value></item-id><item label="Item" type="text-multi"><value><item id="item-1ff7f987-6eaf-4282-bb48-1e77403f2b06"><test>item-1ff7f987-6eaf-4282-bb48-1e77403f2b06</test></item></value></item></result>

2023-02-01 21:45:09 | [Mutex] notify: [retrieved:item:item-1ff7f987-6eaf-4282-bb48-1e77403f2b06:payload-matches:true:localhost]

2023-02-01 21:45:09 | [Mutex] received everything.

2023-02-01 21:45:09 | [Mutex] isItemNotified: retrieved:item:item-1ff7f987-6eaf-4282-bb48-1e77403f2b06:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-02-01 21:45:09 |

2023-02-01 21:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:45:09 | ------------------------------------

2023-02-01 21:45:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-01 21:45:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-581ec1a2-f398-4197-a62e-de5231e52044</value><value>node-f0a63280-a8b8-427a-aef9-cd494a3c75b6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-02-01 21:45:09 |

2023-02-01 21:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:45:09 | ------------------------------------

2023-02-01 21:45:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-581ec1a2-f398-4197-a62e-de5231e52044)</node-pattern></data>

2023-02-01 21:45:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.121s
2023-02-01 21:45:08 |

2023-02-01 21:45:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:45:08 | ------------------------------------

2023-02-01 21:45:08 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-581ec1a2-f398-4197-a62e-de5231e52044</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-01 21:45:08 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.203s
2023-02-01 21:45:09 |

2023-02-01 21:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:45:09 | ------------------------------------

2023-02-01 21:45:09 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-581ec1a2-f398-4197-a62e-de5231e52044</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-01 21:45:10 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>