Generated by TestNG with ReportNG at 22:16 PDT on Sunday 26 March 2023
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.931s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.660s
2023-03-26 22:31:03 |

2023-03-26 22:31:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-26 22:31:03 | ------------------------------------

2023-03-26 22:31:03 | [Mutex] isItemNotified: node_uykx270208:exists :: false

2023-03-26 22:31:03 | [Mutex] waiting for: [node_uykx270208:create_node]

2023-03-26 22:31:03 | [Mutex] waiting for: [node_uykx270208:create_node]

2023-03-26 22:31:03 | [Mutex] received everything.

2023-03-26 22:31:03 | [Mutex] isItemNotified: node_uykx270208:create_node:success :: true

2023-03-26 22:31:03 | [Mutex] waiting for: [node_uykx270208:subscribe_node]

2023-03-26 22:31:03 | [Mutex] received everything.

2023-03-26 22:31:03 | [Mutex] isItemNotified: node_uykx270208:subscribe_node:success :: true

2023-03-26 22:31:03 |


===== publishing normal message (to online)


2023-03-26 22:31:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-26 22:31:03 | command: <data><node>node_uykx270208</node><entry><content>content_gdnbsf0209</content></entry></data>

2023-03-26 22:31:03 | target: http://localhost:8088

2023-03-26 22:31:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-26 22:31:03 | entity: <data><node>node_uykx270208</node><entry><content>content_gdnbsf0209</content></entry></data>

2023-03-26 22:31:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 05:31:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-26 22:31:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>37588fca-820b-4b2c-92ff-5a12fdd123bd</value></item-id></result>

2023-03-26 22:31:03 | contains: true

2023-03-26 22:31:03 | [Mutex] waiting for: [user_regularykqcv40207@test-domain.com:message:received:content_gdnbsf0209]

2023-03-26 22:31:03 | [Mutex] received everything.

2023-03-26 22:31:03 | [Mutex] isItemNotified: user_regularykqcv40207@test-domain.com:message:received:content_gdnbsf0209 :: true

2023-03-26 22:31:03 |


===== publishing already old message - expecting message being filtered out (to online)


2023-03-26 22:31:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-26 22:31:03 | command: <data><node>node_uykx270208</node><expire-at>2023-03-27T05:30:58Z</expire-at><entry><content>content_uqovjb0210</content></entry></data>

2023-03-26 22:31:03 | target: http://localhost:8088

2023-03-26 22:31:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-26 22:31:03 | entity: <data><node>node_uykx270208</node><expire-at>2023-03-27T05:30:58Z</expire-at><entry><content>content_uqovjb0210</content></entry></data>

2023-03-26 22:31:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 05:31:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-26 22:31:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>11784d85-21b6-4269-8b7a-213a117c07a4</value></item-id></result>

2023-03-26 22:31:03 | contains: true

2023-03-26 22:31:03 | [Mutex] waiting for: [user_regularykqcv40207@test-domain.com:message:received:content_uqovjb0210]

2023-03-26 22:31:18 | [Mutex] timeout. Not received [user_regularykqcv40207@test-domain.com:message:received:content_uqovjb0210]

2023-03-26 22:31:18 | [Mutex] isItemNotified: user_regularykqcv40207@test-domain.com:message:received:content_uqovjb0210 :: false

2023-03-26 22:31:18 |


===== publishing normal message (to offline)


2023-03-26 22:31:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-26 22:31:19 | command: <data><node>node_uykx270208</node><entry><content>content_l4cli00211</content></entry></data>

2023-03-26 22:31:19 | target: http://localhost:8088

2023-03-26 22:31:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-26 22:31:19 | entity: <data><node>node_uykx270208</node><entry><content>content_l4cli00211</content></entry></data>

2023-03-26 22:31:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 05:31:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-26 22:31:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>51719c24-572c-41e3-8d5c-31e52fb5d750</value></item-id></result>

2023-03-26 22:31:19 | contains: true

2023-03-26 22:31:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-26 22:31:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-03-26 22:31:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-26 22:31:24 | [Mutex] waiting for: [user_regularykqcv40207@test-domain.com:message:received:content_l4cli00211]

2023-03-26 22:31:24 | [Mutex] waiting for: [user_regularykqcv40207@test-domain.com:message:received:content_l4cli00211]

2023-03-26 22:31:24 | [Mutex] received everything.

2023-03-26 22:31:24 | [Mutex] isItemNotified: user_regularykqcv40207@test-domain.com:message:received:content_l4cli00211 :: true

2023-03-26 22:31:24 |


===== publishing already old message - expecting message being filtered out (to offline)


2023-03-26 22:31:24 | [Mutex] received everything.

2023-03-26 22:31:24 | [Mutex] isItemNotified: node_uykx270208:subscribe_node:success :: true

2023-03-26 22:31:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-26 22:31:24 | command: <data><node>node_uykx270208</node><expire-at>2023-03-27T05:31:29Z</expire-at><entry><content>content_hxyofz0212</content></entry></data>

2023-03-26 22:31:24 | target: http://localhost:8088

2023-03-26 22:31:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-26 22:31:24 | entity: <data><node>node_uykx270208</node><expire-at>2023-03-27T05:31:29Z</expire-at><entry><content>content_hxyofz0212</content></entry></data>

2023-03-26 22:31:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 05:31:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-26 22:31:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f9fe37f2-5455-4f11-b748-d4c86d12ab50</value></item-id></result>

2023-03-26 22:31:24 | contains: true

2023-03-26 22:31:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-26 22:31:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-26 22:31:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-26 22:31:32 | [Mutex] waiting for: [user_regularykqcv40207@test-domain.com:message:received:content_hxyofz0212]

2023-03-26 22:31:47 | [Mutex] timeout. Not received [user_regularykqcv40207@test-domain.com:message:received:content_hxyofz0212]

2023-03-26 22:31:47 | [Mutex] received everything.

2023-03-26 22:31:47 | [Mutex] isItemNotified: user_regularykqcv40207@test-domain.com:message:received:content_hxyofz0212 :: false

2023-03-26 22:31:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hxyofz0212 :: true