Generated by TestNG with ReportNG at 22:17 PDT on Sunday 27 August 2023
root@5f28cc209959 / Java 17.0.8 (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.588s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2023-08-27 22:31:34 |

2023-08-27 22:31:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:31:34 | ------------------------------------

2023-08-27 22:31:34 | [Mutex] waiting for: [configured:node:node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c:node-9304fc51-3491-4652-85c8-31e7d8fb98e1]

2023-08-27 22:31:34 | [Mutex] received everything.

2023-08-27 22:31:34 | [Mutex] isItemNotified: configured:node:node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c:node-9304fc51-3491-4652-85c8-31e7d8fb98e1 :: true

2023-08-27 22:31:35 | [Mutex] waiting for: [received:nodes:6ed240da-fa9a-49f7-b1d9-c9203f5ec823:localhost]

2023-08-27 22:31:35 | [Mutex] received everything.

2023-08-27 22:31:35 | [Mutex] isItemNotified: received:node:6ed240da-fa9a-49f7-b1d9-c9203f5ec823:localhost:node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c:Node 3e8de87f-e59d-400c-bdcd-5ca7e713ad2c :: true

2023-08-27 22:31:35 | [Mutex] waiting for: [received:nodes:cd257053-cc70-4374-ba2c-9ccdeaa45788:localhost]

2023-08-27 22:31:35 | [Mutex] waiting for: [received:nodes:cd257053-cc70-4374-ba2c-9ccdeaa45788:localhost]

2023-08-27 22:31:35 | [Mutex] waiting for: [received:nodes:cd257053-cc70-4374-ba2c-9ccdeaa45788:localhost]

2023-08-27 22:31:35 | [Mutex] received everything.

2023-08-27 22:31:35 | [Mutex] isItemNotified: received:node:cd257053-cc70-4374-ba2c-9ccdeaa45788:localhost:node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c:Node 3e8de87f-e59d-400c-bdcd-5ca7e713ad2c :: false

createNodes 1.494s
2023-08-27 22:31:31 |

2023-08-27 22:31:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:31:31 | ------------------------------------

2023-08-27 22:31:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3e8de87f-e59d-400c-bdcd-5ca7e713ad2c</title></pubsub></data>

2023-08-27 22:31:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-27 22:31:33 | [Mutex] waiting for: [received:nodes:71aa4fd0-91ea-49ad-aef1-b59b84e555e9:localhost]

2023-08-27 22:31:33 | [Mutex] waiting for: [received:nodes:71aa4fd0-91ea-49ad-aef1-b59b84e555e9:localhost]

2023-08-27 22:31:33 | [Mutex] waiting for: [received:nodes:71aa4fd0-91ea-49ad-aef1-b59b84e555e9:localhost]

2023-08-27 22:31:33 | [Mutex] waiting for: [received:nodes:71aa4fd0-91ea-49ad-aef1-b59b84e555e9:localhost]

2023-08-27 22:31:33 | [Mutex] received everything.

2023-08-27 22:31:33 | [Mutex] isItemNotified: received:node:71aa4fd0-91ea-49ad-aef1-b59b84e555e9:localhost:node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c:Node 3e8de87f-e59d-400c-bdcd-5ca7e713ad2c :: true

createSubnodes 1.029s
2023-08-27 22:31:33 |

2023-08-27 22:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:31:33 | ------------------------------------

2023-08-27 22:31:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9304fc51-3491-4652-85c8-31e7d8fb98e1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9304fc51-3491-4652-85c8-31e7d8fb98e1</title></pubsub></data>

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

2023-08-27 22:31:34 | [Mutex] waiting for: [received:nodes:ca4180dc-69e8-4302-8643-0e74faeba305:localhost]

2023-08-27 22:31:34 | [Mutex] waiting for: [received:nodes:ca4180dc-69e8-4302-8643-0e74faeba305:localhost]

2023-08-27 22:31:34 | [Mutex] waiting for: [received:nodes:ca4180dc-69e8-4302-8643-0e74faeba305:localhost]

2023-08-27 22:31:34 | [Mutex] waiting for: [received:nodes:ca4180dc-69e8-4302-8643-0e74faeba305:localhost]

2023-08-27 22:31:34 | [Mutex] received everything.

2023-08-27 22:31:34 | [Mutex] isItemNotified: received:node:ca4180dc-69e8-4302-8643-0e74faeba305:localhost:node-9304fc51-3491-4652-85c8-31e7d8fb98e1:Node 9304fc51-3491-4652-85c8-31e7d8fb98e1 :: true

deleteNodes 1.017s
2023-08-27 22:31:39 |

2023-08-27 22:31:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:31:39 | ------------------------------------

2023-08-27 22:31:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9304fc51-3491-4652-85c8-31e7d8fb98e1</node></data>

2023-08-27 22:31:39 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-27 22:31:40 | [Mutex] waiting for: [received:nodes:0a5fe947-a522-453a-ac43-07bb27f57df8:localhost]

2023-08-27 22:31:40 | [Mutex] waiting for: [received:nodes:0a5fe947-a522-453a-ac43-07bb27f57df8:localhost]

2023-08-27 22:31:40 | [Mutex] waiting for: [received:nodes:0a5fe947-a522-453a-ac43-07bb27f57df8:localhost]

2023-08-27 22:31:40 | [Mutex] received everything.

2023-08-27 22:31:40 | [Mutex] isItemNotified: received:node:0a5fe947-a522-453a-ac43-07bb27f57df8:localhost:node-9304fc51-3491-4652-85c8-31e7d8fb98e1:Node 9304fc51-3491-4652-85c8-31e7d8fb98e1 :: false

deleteSubnodes 1.146s
2023-08-27 22:31:38 |

2023-08-27 22:31:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:31:38 | ------------------------------------

2023-08-27 22:31:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c</node></data>

2023-08-27 22:31:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-27 22:31:39 | [Mutex] waiting for: [received:nodes:6dcf8653-f91a-4d77-81f5-2341d21148f6:localhost]

2023-08-27 22:31:39 | [Mutex] waiting for: [received:nodes:6dcf8653-f91a-4d77-81f5-2341d21148f6:localhost]

2023-08-27 22:31:39 | [Mutex] waiting for: [received:nodes:6dcf8653-f91a-4d77-81f5-2341d21148f6:localhost]

2023-08-27 22:31:39 | [Mutex] waiting for: [received:nodes:6dcf8653-f91a-4d77-81f5-2341d21148f6:localhost]

2023-08-27 22:31:39 | [Mutex] received everything.

2023-08-27 22:31:39 | [Mutex] isItemNotified: received:node:6dcf8653-f91a-4d77-81f5-2341d21148f6:localhost:node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c:Node 3e8de87f-e59d-400c-bdcd-5ca7e713ad2c :: false

2023-08-27 22:31:39 | [Mutex] waiting for: [received:nodes:5b72d0ba-b8d9-499b-9f97-b993ddf44926:localhost]

2023-08-27 22:31:39 | [Mutex] received everything.

2023-08-27 22:31:39 | [Mutex] isItemNotified: received:node:5b72d0ba-b8d9-499b-9f97-b993ddf44926:localhost:node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c:Node 3e8de87f-e59d-400c-bdcd-5ca7e713ad2c :: false

publishItemsToNodes 0.209s
2023-08-27 22:31:36 |

2023-08-27 22:31:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:31:36 | ------------------------------------

2023-08-27 22:31:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c</node><item-id>item-c8a7d13f-2af1-40c7-aa8a-6e5461ce38d3</item-id><entry><test>item-c8a7d13f-2af1-40c7-aa8a-6e5461ce38d3</test></entry></data>

2023-08-27 22:31:36 | 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-c8a7d13f-2af1-40c7-aa8a-6e5461ce38d3</value></item-id></result>

2023-08-27 22:31:36 | [Mutex] received everything.

2023-08-27 22:31:36 | [Mutex] isItemNotified: published:item:notifieditem-c8a7d13f-2af1-40c7-aa8a-6e5461ce38d3:admin@test-domain.com :: true

retractItemsFromNodes 0.295s
2023-08-27 22:31:37 |

2023-08-27 22:31:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:31:37 | ------------------------------------

2023-08-27 22:31:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c</node><item-id>item-c8a7d13f-2af1-40c7-aa8a-6e5461ce38d3</item-id></data>

2023-08-27 22:31:37 | 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-c8a7d13f-2af1-40c7-aa8a-6e5461ce38d3</value></item-id></result>

2023-08-27 22:31:37 | [Mutex] received everything.

2023-08-27 22:31:37 | [Mutex] isItemNotified: retracted:item:notifieditem-c8a7d13f-2af1-40c7-aa8a-6e5461ce38d3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.271s
2023-08-27 22:31:36 |

2023-08-27 22:31:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:31:36 | ------------------------------------

2023-08-27 22:31:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c</node><item-id>item-c8a7d13f-2af1-40c7-aa8a-6e5461ce38d3</item-id></data>

2023-08-27 22:31:37 | 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-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c</value></node><item-id label="Item ID" type="text-single"><value>item-c8a7d13f-2af1-40c7-aa8a-6e5461ce38d3</value></item-id><item label="Item" type="text-multi"><value><item id="item-c8a7d13f-2af1-40c7-aa8a-6e5461ce38d3"><test>item-c8a7d13f-2af1-40c7-aa8a-6e5461ce38d3</test></item></value></item></result>

2023-08-27 22:31:37 | [Mutex] notify: [retrieved:item:item-c8a7d13f-2af1-40c7-aa8a-6e5461ce38d3:payload-matches:true:localhost]

2023-08-27 22:31:37 | [Mutex] received everything.

2023-08-27 22:31:37 | [Mutex] isItemNotified: retrieved:item:item-c8a7d13f-2af1-40c7-aa8a-6e5461ce38d3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-08-27 22:31:37 |

2023-08-27 22:31:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:31:37 | ------------------------------------

2023-08-27 22:31:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-08-27 22:31:37 | 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-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c</value><value>node-9304fc51-3491-4652-85c8-31e7d8fb98e1</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-08-27 22:31:37 |

2023-08-27 22:31:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:31:37 | ------------------------------------

2023-08-27 22:31:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c)</node-pattern></data>

2023-08-27 22:31:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.160s
2023-08-27 22:31:35 |

2023-08-27 22:31:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:31:35 | ------------------------------------

2023-08-27 22:31:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c</node><jids><value>admin@test-domain.com</value></jids></data>

2023-08-27 22:31:35 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.191s
2023-08-27 22:31:37 |

2023-08-27 22:31:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 22:31:37 | ------------------------------------

2023-08-27 22:31:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3e8de87f-e59d-400c-bdcd-5ca7e713ad2c</node><jids><value>admin@test-domain.com</value></jids></data>

2023-08-27 22:31:37 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>