Generated by TestNG with ReportNG at 22:46 PDT on Saturday 25 June 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.554s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2022-06-25 23:00:28 |

2022-06-25 23:00:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:00:28 | ------------------------------------

2022-06-25 23:00:28 | [Mutex] waiting for: [configured:node:node-f001b68f-54ed-4925-9f76-fd497d233a1a:node-400536eb-a111-4917-97fe-d6627da3d860]

2022-06-25 23:00:28 | [Mutex] received everything.

2022-06-25 23:00:28 | [Mutex] isItemNotified: configured:node:node-f001b68f-54ed-4925-9f76-fd497d233a1a:node-400536eb-a111-4917-97fe-d6627da3d860 :: true

2022-06-25 23:00:29 | [Mutex] waiting for: [received:nodes:0331011f-0128-4f8d-9fa2-1fece63332db:localhost]

2022-06-25 23:00:29 | [Mutex] received everything.

2022-06-25 23:00:29 | [Mutex] isItemNotified: received:node:0331011f-0128-4f8d-9fa2-1fece63332db:localhost:node-f001b68f-54ed-4925-9f76-fd497d233a1a:Node f001b68f-54ed-4925-9f76-fd497d233a1a :: true

2022-06-25 23:00:29 | [Mutex] waiting for: [received:nodes:13584a76-33da-4914-b464-d998b1891b08:localhost]

2022-06-25 23:00:29 | [Mutex] received everything.

2022-06-25 23:00:29 | [Mutex] isItemNotified: received:node:13584a76-33da-4914-b464-d998b1891b08:localhost:node-f001b68f-54ed-4925-9f76-fd497d233a1a:Node f001b68f-54ed-4925-9f76-fd497d233a1a :: false

createNodes 1.475s
2022-06-25 23:00:25 |

2022-06-25 23:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:00:25 | ------------------------------------

2022-06-25 23:00:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f001b68f-54ed-4925-9f76-fd497d233a1a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f001b68f-54ed-4925-9f76-fd497d233a1a</title></pubsub></data>

2022-06-25 23:00:26 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-25 23:00:27 | [Mutex] waiting for: [received:nodes:895a7106-3580-48c0-a1fe-00c386b0bcf6:localhost]

2022-06-25 23:00:27 | [Mutex] received everything.

2022-06-25 23:00:27 | [Mutex] isItemNotified: received:node:895a7106-3580-48c0-a1fe-00c386b0bcf6:localhost:node-f001b68f-54ed-4925-9f76-fd497d233a1a:Node f001b68f-54ed-4925-9f76-fd497d233a1a :: true

createSubnodes 1.027s
2022-06-25 23:00:27 |

2022-06-25 23:00:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:00:27 | ------------------------------------

2022-06-25 23:00:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-400536eb-a111-4917-97fe-d6627da3d860</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 400536eb-a111-4917-97fe-d6627da3d860</title></pubsub></data>

2022-06-25 23:00:27 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-25 23:00:28 | [Mutex] waiting for: [received:nodes:6309c294-d36c-4aa8-8c62-ad8d9146ada3:localhost]

2022-06-25 23:00:28 | [Mutex] received everything.

2022-06-25 23:00:28 | [Mutex] isItemNotified: received:node:6309c294-d36c-4aa8-8c62-ad8d9146ada3:localhost:node-400536eb-a111-4917-97fe-d6627da3d860:Node 400536eb-a111-4917-97fe-d6627da3d860 :: true

deleteNodes 1.017s
2022-06-25 23:00:33 |

2022-06-25 23:00:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:00:33 | ------------------------------------

2022-06-25 23:00:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-400536eb-a111-4917-97fe-d6627da3d860</node></data>

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

2022-06-25 23:00:34 | [Mutex] waiting for: [received:nodes:b8989ca1-9e0e-4d77-9b83-0103d6ff94e4:localhost]

2022-06-25 23:00:34 | [Mutex] waiting for: [received:nodes:b8989ca1-9e0e-4d77-9b83-0103d6ff94e4:localhost]

2022-06-25 23:00:34 | [Mutex] received everything.

2022-06-25 23:00:34 | [Mutex] isItemNotified: received:node:b8989ca1-9e0e-4d77-9b83-0103d6ff94e4:localhost:node-400536eb-a111-4917-97fe-d6627da3d860:Node 400536eb-a111-4917-97fe-d6627da3d860 :: false

deleteSubnodes 1.185s
2022-06-25 23:00:32 |

2022-06-25 23:00:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:00:32 | ------------------------------------

2022-06-25 23:00:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f001b68f-54ed-4925-9f76-fd497d233a1a</node></data>

2022-06-25 23:00:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-25 23:00:33 | [Mutex] waiting for: [received:nodes:e500bd39-0549-43a0-990f-868266906342:localhost]

2022-06-25 23:00:33 | [Mutex] received everything.

2022-06-25 23:00:33 | [Mutex] isItemNotified: received:node:e500bd39-0549-43a0-990f-868266906342:localhost:node-f001b68f-54ed-4925-9f76-fd497d233a1a:Node f001b68f-54ed-4925-9f76-fd497d233a1a :: false

2022-06-25 23:00:33 | [Mutex] waiting for: [received:nodes:1c13fe6b-4cb8-4ad3-8bec-62518ea1e73b:localhost]

2022-06-25 23:00:33 | [Mutex] received everything.

2022-06-25 23:00:33 | [Mutex] isItemNotified: received:node:1c13fe6b-4cb8-4ad3-8bec-62518ea1e73b:localhost:node-f001b68f-54ed-4925-9f76-fd497d233a1a:Node f001b68f-54ed-4925-9f76-fd497d233a1a :: false

publishItemsToNodes 0.192s
2022-06-25 23:00:30 |

2022-06-25 23:00:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:00:30 | ------------------------------------

2022-06-25 23:00:30 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f001b68f-54ed-4925-9f76-fd497d233a1a</node><item-id>item-c84898ce-7963-4d08-b604-6e10ba734e9d</item-id><entry><test>item-c84898ce-7963-4d08-b604-6e10ba734e9d</test></entry></data>

2022-06-25 23:00:30 | 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-c84898ce-7963-4d08-b604-6e10ba734e9d</value></item-id></result>

2022-06-25 23:00:30 | [Mutex] received everything.

2022-06-25 23:00:30 | [Mutex] isItemNotified: published:item:notifieditem-c84898ce-7963-4d08-b604-6e10ba734e9d:admin@test-domain.com :: true

retractItemsFromNodes 0.272s
2022-06-25 23:00:30 |

2022-06-25 23:00:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:00:30 | ------------------------------------

2022-06-25 23:00:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f001b68f-54ed-4925-9f76-fd497d233a1a</node><item-id>item-c84898ce-7963-4d08-b604-6e10ba734e9d</item-id></data>

2022-06-25 23:00:31 | 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-c84898ce-7963-4d08-b604-6e10ba734e9d</value></item-id></result>

2022-06-25 23:00:31 | [Mutex] waiting for: [retracted:item:notifieditem-c84898ce-7963-4d08-b604-6e10ba734e9d:admin@test-domain.com]

2022-06-25 23:00:31 | [Mutex] received everything.

2022-06-25 23:00:31 | [Mutex] isItemNotified: retracted:item:notifieditem-c84898ce-7963-4d08-b604-6e10ba734e9d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.169s
2022-06-25 23:00:30 |

2022-06-25 23:00:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:00:30 | ------------------------------------

2022-06-25 23:00:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f001b68f-54ed-4925-9f76-fd497d233a1a</node><item-id>item-c84898ce-7963-4d08-b604-6e10ba734e9d</item-id></data>

2022-06-25 23:00:30 | 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-f001b68f-54ed-4925-9f76-fd497d233a1a</value></node><item-id type="text-single" label="Item ID"><value>item-c84898ce-7963-4d08-b604-6e10ba734e9d</value></item-id><item type="text-multi" label="Item"><value><item id="item-c84898ce-7963-4d08-b604-6e10ba734e9d"><test>item-c84898ce-7963-4d08-b604-6e10ba734e9d</test></item></value></item></result>

2022-06-25 23:00:30 | [Mutex] notify: [retrieved:item:item-c84898ce-7963-4d08-b604-6e10ba734e9d:payload-matches:true:localhost]

2022-06-25 23:00:30 | [Mutex] received everything.

2022-06-25 23:00:30 | [Mutex] isItemNotified: retrieved:item:item-c84898ce-7963-4d08-b604-6e10ba734e9d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-06-25 23:00:30 |

2022-06-25 23:00:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:00:30 | ------------------------------------

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

2022-06-25 23:00:30 | 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-400536eb-a111-4917-97fe-d6627da3d860</value><value>node-f001b68f-54ed-4925-9f76-fd497d233a1a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-25 23:00:30 |

2022-06-25 23:00:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:00:30 | ------------------------------------

2022-06-25 23:00:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f001b68f-54ed-4925-9f76-fd497d233a1a)</node-pattern></data>

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

subscribeNodes 1.125s
2022-06-25 23:00:29 |

2022-06-25 23:00:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:00:29 | ------------------------------------

2022-06-25 23:00:29 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f001b68f-54ed-4925-9f76-fd497d233a1a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.206s
2022-06-25 23:00:31 |

2022-06-25 23:00:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:00:31 | ------------------------------------

2022-06-25 23:00:31 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f001b68f-54ed-4925-9f76-fd497d233a1a</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-25 23:00:31 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>