Generated by TestNG with ReportNG at 22:15 PDT on Thursday 23 March 2023
root@7c41cec37518 / 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.715s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.616s
2023-03-23 22:30:21 |

2023-03-23 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-23 22:30:21 | ------------------------------------

2023-03-23 22:30:21 | [Mutex] isItemNotified: node_lwco190208:exists :: false

2023-03-23 22:30:21 | [Mutex] waiting for: [node_lwco190208:create_node]

2023-03-23 22:30:21 | [Mutex] received everything.

2023-03-23 22:30:21 | [Mutex] isItemNotified: node_lwco190208:create_node:success :: true

2023-03-23 22:30:21 | [Mutex] waiting for: [node_lwco190208:subscribe_node]

2023-03-23 22:30:21 | [Mutex] waiting for: [node_lwco190208:subscribe_node]

2023-03-23 22:30:21 | [Mutex] received everything.

2023-03-23 22:30:21 | [Mutex] isItemNotified: node_lwco190208:subscribe_node:success :: true

2023-03-23 22:30:21 |


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


2023-03-23 22:30:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 22:30:21 | command: <data><node>node_lwco190208</node><entry><content>content_x3d93y0209</content></entry></data>

2023-03-23 22:30:21 | target: http://localhost:8088

2023-03-23 22:30:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-23 22:30:21 | entity: <data><node>node_lwco190208</node><entry><content>content_x3d93y0209</content></entry></data>

2023-03-23 22:30:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Mar 2023 05:30:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-23 22:30:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>787491dd-936a-4419-88a7-50663adfd121</value></item-id></result>

2023-03-23 22:30:21 | contains: true

2023-03-23 22:30:21 | [Mutex] waiting for: [user_regulareb1wg60207@test-domain.com:message:received:content_x3d93y0209]

2023-03-23 22:30:21 | [Mutex] received everything.

2023-03-23 22:30:21 | [Mutex] isItemNotified: user_regulareb1wg60207@test-domain.com:message:received:content_x3d93y0209 :: true

2023-03-23 22:30:21 |


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


2023-03-23 22:30:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 22:30:21 | command: <data><node>node_lwco190208</node><expire-at>2023-03-24T05:30:16Z</expire-at><entry><content>content_utnt5z0210</content></entry></data>

2023-03-23 22:30:21 | target: http://localhost:8088

2023-03-23 22:30:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-23 22:30:21 | entity: <data><node>node_lwco190208</node><expire-at>2023-03-24T05:30:16Z</expire-at><entry><content>content_utnt5z0210</content></entry></data>

2023-03-23 22:30:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Mar 2023 05:30:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-23 22:30:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d24f3866-578b-405a-b252-53f49caa1ed8</value></item-id></result>

2023-03-23 22:30:21 | contains: true

2023-03-23 22:30:21 | [Mutex] waiting for: [user_regulareb1wg60207@test-domain.com:message:received:content_utnt5z0210]

2023-03-23 22:30:36 | [Mutex] timeout. Not received [user_regulareb1wg60207@test-domain.com:message:received:content_utnt5z0210]

2023-03-23 22:30:36 | [Mutex] isItemNotified: user_regulareb1wg60207@test-domain.com:message:received:content_utnt5z0210 :: false

2023-03-23 22:30:36 |


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


2023-03-23 22:30:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 22:30:36 | command: <data><node>node_lwco190208</node><entry><content>content_jazeo0211</content></entry></data>

2023-03-23 22:30:36 | target: http://localhost:8088

2023-03-23 22:30:36 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2023-03-23 22:30:36 | entity: <data><node>node_lwco190208</node><entry><content>content_jazeo0211</content></entry></data>

2023-03-23 22:30:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Mar 2023 05:30:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-23 22:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a5b88b1e-273e-4509-8f8c-cede862f7893</value></item-id></result>

2023-03-23 22:30:36 | contains: true

2023-03-23 22:30:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-23 22:30:41 | [Mutex] received everything.

2023-03-23 22:30:41 | [Mutex] isItemNotified: user_regulareb1wg60207@test-domain.com:message:received:content_jazeo0211 :: true

2023-03-23 22:30:41 |


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


2023-03-23 22:30:41 | [Mutex] received everything.

2023-03-23 22:30:41 | [Mutex] isItemNotified: node_lwco190208:subscribe_node:success :: true

2023-03-23 22:30:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 22:30:41 | command: <data><node>node_lwco190208</node><expire-at>2023-03-24T05:30:46Z</expire-at><entry><content>content_6m4d7h0212</content></entry></data>

2023-03-23 22:30:41 | target: http://localhost:8088

2023-03-23 22:30:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-23 22:30:41 | entity: <data><node>node_lwco190208</node><expire-at>2023-03-24T05:30:46Z</expire-at><entry><content>content_6m4d7h0212</content></entry></data>

2023-03-23 22:30:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Mar 2023 05:30:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-23 22:30:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c953f564-0806-4f2d-a753-1cfcc3743036</value></item-id></result>

2023-03-23 22:30:41 | contains: true

2023-03-23 22:30:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-23 22:30:50 | [Mutex] waiting for: [user_regulareb1wg60207@test-domain.com:message:received:content_6m4d7h0212]

2023-03-23 22:31:05 | [Mutex] timeout. Not received [user_regulareb1wg60207@test-domain.com:message:received:content_6m4d7h0212]

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

2023-03-23 22:31:05 | [Mutex] isItemNotified: user_regulareb1wg60207@test-domain.com:message:received:content_6m4d7h0212 :: false

2023-03-23 22:31:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6m4d7h0212 :: true