Generated by TestNG with ReportNG at 22:18 PDT on Saturday 09 July 2022
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.776s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.631s
2022-07-09 22:32:21 |

2022-07-09 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-09 22:32:21 | ------------------------------------

2022-07-09 22:32:21 | [Mutex] isItemNotified: node_732d580204:exists :: false

2022-07-09 22:32:21 | [Mutex] waiting for: [node_732d580204:create_node]

2022-07-09 22:32:21 | [Mutex] received everything.

2022-07-09 22:32:21 | [Mutex] isItemNotified: node_732d580204:create_node:success :: true

2022-07-09 22:32:21 | [Mutex] waiting for: [node_732d580204:subscribe_node]

2022-07-09 22:32:21 | [Mutex] waiting for: [node_732d580204:subscribe_node]

2022-07-09 22:32:21 | [Mutex] received everything.

2022-07-09 22:32:21 | [Mutex] isItemNotified: node_732d580204:subscribe_node:success :: true

2022-07-09 22:32:21 |


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


2022-07-09 22:32:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-09 22:32:21 | command: <data><node>node_732d580204</node><entry><content>content_pl7iup0205</content></entry></data>

2022-07-09 22:32:21 | target: http://localhost:8088

2022-07-09 22:32:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-09 22:32:21 | entity: <data><node>node_732d580204</node><entry><content>content_pl7iup0205</content></entry></data>

2022-07-09 22:32:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 10 Jul 2022 05:32:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-09 22:32:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ac2db485-71f2-4dd3-94e5-0a1cc589b058</value></item-id></result>

2022-07-09 22:32:21 | contains: true

2022-07-09 22:32:21 | [Mutex] received everything.

2022-07-09 22:32:21 | [Mutex] isItemNotified: user_regular8tnaqp0203@test-domain.com:message:received:content_pl7iup0205 :: true

2022-07-09 22:32:21 |


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


2022-07-09 22:32:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-09 22:32:21 | command: <data><node>node_732d580204</node><expire-at>2022-07-10T05:32:16Z</expire-at><entry><content>content_usnwa60206</content></entry></data>

2022-07-09 22:32:21 | target: http://localhost:8088

2022-07-09 22:32:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-09 22:32:21 | entity: <data><node>node_732d580204</node><expire-at>2022-07-10T05:32:16Z</expire-at><entry><content>content_usnwa60206</content></entry></data>

2022-07-09 22:32:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 10 Jul 2022 05:32:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-09 22:32:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0f34af9c-baf8-4a6c-b0c7-11981bf4f52f</value></item-id></result>

2022-07-09 22:32:21 | contains: true

2022-07-09 22:32:21 | [Mutex] waiting for: [user_regular8tnaqp0203@test-domain.com:message:received:content_usnwa60206]

2022-07-09 22:32:36 | [Mutex] timeout. Not received [user_regular8tnaqp0203@test-domain.com:message:received:content_usnwa60206]

2022-07-09 22:32:36 | [Mutex] isItemNotified: user_regular8tnaqp0203@test-domain.com:message:received:content_usnwa60206 :: false

2022-07-09 22:32:36 |


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


2022-07-09 22:32:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-09 22:32:36 | command: <data><node>node_732d580204</node><entry><content>content_6xwpep0207</content></entry></data>

2022-07-09 22:32:36 | target: http://localhost:8088

2022-07-09 22:32:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-09 22:32:36 | entity: <data><node>node_732d580204</node><entry><content>content_6xwpep0207</content></entry></data>

2022-07-09 22:32:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 10 Jul 2022 05:32:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-09 22:32:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d139cd94-d508-403a-9b90-1d2a09414c62</value></item-id></result>

2022-07-09 22:32:36 | contains: true

2022-07-09 22:32:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-09 22:32:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-09 22:32:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-09 22:32:41 | [Mutex] waiting for: [user_regular8tnaqp0203@test-domain.com:message:received:content_6xwpep0207]

2022-07-09 22:32:41 | [Mutex] received everything.

2022-07-09 22:32:41 | [Mutex] isItemNotified: user_regular8tnaqp0203@test-domain.com:message:received:content_6xwpep0207 :: true

2022-07-09 22:32:41 |


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


2022-07-09 22:32:41 | [Mutex] received everything.

2022-07-09 22:32:41 | [Mutex] isItemNotified: node_732d580204:subscribe_node:success :: true

2022-07-09 22:32:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-09 22:32:41 | command: <data><node>node_732d580204</node><expire-at>2022-07-10T05:32:46Z</expire-at><entry><content>content_6llocb0208</content></entry></data>

2022-07-09 22:32:41 | target: http://localhost:8088

2022-07-09 22:32:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-09 22:32:41 | entity: <data><node>node_732d580204</node><expire-at>2022-07-10T05:32:46Z</expire-at><entry><content>content_6llocb0208</content></entry></data>

2022-07-09 22:32:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 10 Jul 2022 05:32:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-09 22:32:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3f2f4384-1982-4d6f-969b-bfa03b5cc889</value></item-id></result>

2022-07-09 22:32:41 | contains: true

2022-07-09 22:32:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-09 22:32:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-07-09 22:32:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-09 22:32:49 | [Mutex] waiting for: [user_regular8tnaqp0203@test-domain.com:message:received:content_6llocb0208]

2022-07-09 22:33:04 | [Mutex] timeout. Not received [user_regular8tnaqp0203@test-domain.com:message:received:content_6llocb0208]

2022-07-09 22:33:04 | [Mutex] received everything.

2022-07-09 22:33:04 | [Mutex] isItemNotified: user_regular8tnaqp0203@test-domain.com:message:received:content_6llocb0208 :: false

2022-07-09 22:33:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6llocb0208 :: true