Generated by TestNG with ReportNG at 22:18 PDT on Wednesday 06 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.965s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.636s
2022-07-06 22:33:22 |

2022-07-06 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-06 22:33:22 | ------------------------------------

2022-07-06 22:33:22 | [Mutex] isItemNotified: node_x2mvdz0204:exists :: false

2022-07-06 22:33:22 | [Mutex] waiting for: [node_x2mvdz0204:create_node]

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

2022-07-06 22:33:22 | [Mutex] isItemNotified: node_x2mvdz0204:create_node:success :: true

2022-07-06 22:33:22 | [Mutex] waiting for: [node_x2mvdz0204:subscribe_node]

2022-07-06 22:33:22 | [Mutex] waiting for: [node_x2mvdz0204:subscribe_node]

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

2022-07-06 22:33:22 | [Mutex] isItemNotified: node_x2mvdz0204:subscribe_node:success :: true

2022-07-06 22:33:22 |


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


2022-07-06 22:33:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-06 22:33:22 | command: <data><node>node_x2mvdz0204</node><entry><content>content_zcn49s0205</content></entry></data>

2022-07-06 22:33:22 | target: http://localhost:8088

2022-07-06 22:33:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-06 22:33:22 | entity: <data><node>node_x2mvdz0204</node><entry><content>content_zcn49s0205</content></entry></data>

2022-07-06 22:33:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 05:33:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-06 22:33:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3c7da2ee-66d5-4a5b-a039-e6b50eb29576</value></item-id></result>

2022-07-06 22:33:22 | contains: true

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

2022-07-06 22:33:22 | [Mutex] isItemNotified: user_regularcr0wue0203@test-domain.com:message:received:content_zcn49s0205 :: true

2022-07-06 22:33:22 |


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


2022-07-06 22:33:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-06 22:33:22 | command: <data><node>node_x2mvdz0204</node><expire-at>2022-07-07T05:33:17Z</expire-at><entry><content>content_ckc95k0206</content></entry></data>

2022-07-06 22:33:22 | target: http://localhost:8088

2022-07-06 22:33:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-06 22:33:22 | entity: <data><node>node_x2mvdz0204</node><expire-at>2022-07-07T05:33:17Z</expire-at><entry><content>content_ckc95k0206</content></entry></data>

2022-07-06 22:33:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 05:33:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-06 22:33:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7abaf4c9-b5cf-4c4f-b500-165d81862b2d</value></item-id></result>

2022-07-06 22:33:22 | contains: true

2022-07-06 22:33:22 | [Mutex] waiting for: [user_regularcr0wue0203@test-domain.com:message:received:content_ckc95k0206]

2022-07-06 22:33:37 | [Mutex] timeout. Not received [user_regularcr0wue0203@test-domain.com:message:received:content_ckc95k0206]

2022-07-06 22:33:37 | [Mutex] isItemNotified: user_regularcr0wue0203@test-domain.com:message:received:content_ckc95k0206 :: false

2022-07-06 22:33:37 |


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


2022-07-06 22:33:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-06 22:33:37 | command: <data><node>node_x2mvdz0204</node><entry><content>content_o1hp590207</content></entry></data>

2022-07-06 22:33:37 | target: http://localhost:8088

2022-07-06 22:33:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-06 22:33:37 | entity: <data><node>node_x2mvdz0204</node><entry><content>content_o1hp590207</content></entry></data>

2022-07-06 22:33:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 05:33:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-06 22:33:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8b2d1ee7-2744-4869-b0f4-b57e93c4476f</value></item-id></result>

2022-07-06 22:33:37 | contains: true

2022-07-06 22:33:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-06 22:33:42 | [Mutex] waiting for: [user_regularcr0wue0203@test-domain.com:message:received:content_o1hp590207]

2022-07-06 22:33:42 | [Mutex] waiting for: [user_regularcr0wue0203@test-domain.com:message:received:content_o1hp590207]

2022-07-06 22:33:42 | [Mutex] received everything.

2022-07-06 22:33:42 | [Mutex] isItemNotified: user_regularcr0wue0203@test-domain.com:message:received:content_o1hp590207 :: true

2022-07-06 22:33:42 |


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


2022-07-06 22:33:42 | [Mutex] received everything.

2022-07-06 22:33:42 | [Mutex] isItemNotified: node_x2mvdz0204:subscribe_node:success :: true

2022-07-06 22:33:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-06 22:33:42 | command: <data><node>node_x2mvdz0204</node><expire-at>2022-07-07T05:33:47Z</expire-at><entry><content>content_jty1mj0208</content></entry></data>

2022-07-06 22:33:42 | target: http://localhost:8088

2022-07-06 22:33:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-06 22:33:42 | entity: <data><node>node_x2mvdz0204</node><expire-at>2022-07-07T05:33:47Z</expire-at><entry><content>content_jty1mj0208</content></entry></data>

2022-07-06 22:33:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 05:33:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-06 22:33:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>339e5bb9-e877-4a86-9af8-859cd9146970</value></item-id></result>

2022-07-06 22:33:42 | contains: true

2022-07-06 22:33:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-06 22:33:51 | [Mutex] waiting for: [user_regularcr0wue0203@test-domain.com:message:received:content_jty1mj0208]

2022-07-06 22:34:06 | [Mutex] timeout. Not received [user_regularcr0wue0203@test-domain.com:message:received:content_jty1mj0208]

2022-07-06 22:34:06 | [Mutex] received everything.

2022-07-06 22:34:06 | [Mutex] isItemNotified: user_regularcr0wue0203@test-domain.com:message:received:content_jty1mj0208 :: false

2022-07-06 22:34:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jty1mj0208 :: true