Generated by TestNG with ReportNG at 13:20 PDT on Monday 10 July 2023
root@cc7d7fbb25f7 / Java 17.0.6 (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.427s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.564s
2023-07-10 13:35:09 |

2023-07-10 13:35:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-10 13:35:09 | ------------------------------------

2023-07-10 13:35:09 | [Mutex] isItemNotified: node_c7w9yp0208:exists :: false

2023-07-10 13:35:09 | [Mutex] waiting for: [node_c7w9yp0208:create_node]

2023-07-10 13:35:09 | [Mutex] received everything.

2023-07-10 13:35:09 | [Mutex] isItemNotified: node_c7w9yp0208:create_node:success :: true

2023-07-10 13:35:09 | [Mutex] waiting for: [node_c7w9yp0208:subscribe_node]

2023-07-10 13:35:09 | [Mutex] waiting for: [node_c7w9yp0208:subscribe_node]

2023-07-10 13:35:09 | [Mutex] received everything.

2023-07-10 13:35:09 | [Mutex] isItemNotified: node_c7w9yp0208:subscribe_node:success :: true

2023-07-10 13:35:09 |


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


2023-07-10 13:35:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-10 13:35:09 | command: <data><node>node_c7w9yp0208</node><entry><content>content_4ohidp0209</content></entry></data>

2023-07-10 13:35:09 | target: http://localhost:8088

2023-07-10 13:35:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-10 13:35:09 | entity: <data><node>node_c7w9yp0208</node><entry><content>content_4ohidp0209</content></entry></data>

2023-07-10 13:35:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 20:35:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-10 13:35:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b68186d7-b055-4ed8-b324-4341be8963cd</value></item-id></result>

2023-07-10 13:35:09 | contains: true

2023-07-10 13:35:09 | [Mutex] received everything.

2023-07-10 13:35:09 | [Mutex] isItemNotified: user_regularib7wf70207@test-domain.com:message:received:content_4ohidp0209 :: true

2023-07-10 13:35:09 |


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


2023-07-10 13:35:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-10 13:35:09 | command: <data><node>node_c7w9yp0208</node><expire-at>2023-07-10T20:35:04Z</expire-at><entry><content>content_ynpho30210</content></entry></data>

2023-07-10 13:35:09 | target: http://localhost:8088

2023-07-10 13:35:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-10 13:35:09 | entity: <data><node>node_c7w9yp0208</node><expire-at>2023-07-10T20:35:04Z</expire-at><entry><content>content_ynpho30210</content></entry></data>

2023-07-10 13:35:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 20:35:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-10 13:35:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e1e20190-cfa8-4ae2-bd30-3692c715ca1c</value></item-id></result>

2023-07-10 13:35:09 | contains: true

2023-07-10 13:35:09 | [Mutex] waiting for: [user_regularib7wf70207@test-domain.com:message:received:content_ynpho30210]

2023-07-10 13:35:24 | [Mutex] timeout. Not received [user_regularib7wf70207@test-domain.com:message:received:content_ynpho30210]

2023-07-10 13:35:24 | [Mutex] isItemNotified: user_regularib7wf70207@test-domain.com:message:received:content_ynpho30210 :: false

2023-07-10 13:35:24 |


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


2023-07-10 13:35:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-10 13:35:24 | command: <data><node>node_c7w9yp0208</node><entry><content>content_xnu1md0211</content></entry></data>

2023-07-10 13:35:24 | target: http://localhost:8088

2023-07-10 13:35:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-10 13:35:24 | entity: <data><node>node_c7w9yp0208</node><entry><content>content_xnu1md0211</content></entry></data>

2023-07-10 13:35:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 20:35:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-10 13:35:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1c975012-3941-449e-af62-0e215d403c6a</value></item-id></result>

2023-07-10 13:35:24 | contains: true

2023-07-10 13:35:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-10 13:35:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-07-10 13:35:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-10 13:35:29 | [Mutex] waiting for: [user_regularib7wf70207@test-domain.com:message:received:content_xnu1md0211]

2023-07-10 13:35:29 | [Mutex] waiting for: [user_regularib7wf70207@test-domain.com:message:received:content_xnu1md0211]

2023-07-10 13:35:29 | [Mutex] received everything.

2023-07-10 13:35:29 | [Mutex] isItemNotified: user_regularib7wf70207@test-domain.com:message:received:content_xnu1md0211 :: true

2023-07-10 13:35:29 |


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


2023-07-10 13:35:29 | [Mutex] received everything.

2023-07-10 13:35:29 | [Mutex] isItemNotified: node_c7w9yp0208:subscribe_node:success :: true

2023-07-10 13:35:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-10 13:35:29 | command: <data><node>node_c7w9yp0208</node><expire-at>2023-07-10T20:35:34Z</expire-at><entry><content>content_84x5y20212</content></entry></data>

2023-07-10 13:35:29 | target: http://localhost:8088

2023-07-10 13:35:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-10 13:35:29 | entity: <data><node>node_c7w9yp0208</node><expire-at>2023-07-10T20:35:34Z</expire-at><entry><content>content_84x5y20212</content></entry></data>

2023-07-10 13:35:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 20:35:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-10 13:35:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>48d55434-a18a-4bbb-a80e-eb83d335948b</value></item-id></result>

2023-07-10 13:35:29 | contains: true

2023-07-10 13:35:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-10 13:35:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-07-10 13:35:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-10 13:35:37 | [Mutex] waiting for: [user_regularib7wf70207@test-domain.com:message:received:content_84x5y20212]

2023-07-10 13:35:52 | [Mutex] timeout. Not received [user_regularib7wf70207@test-domain.com:message:received:content_84x5y20212]

2023-07-10 13:35:52 | [Mutex] received everything.

2023-07-10 13:35:52 | [Mutex] isItemNotified: user_regularib7wf70207@test-domain.com:message:received:content_84x5y20212 :: false

2023-07-10 13:35:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_84x5y20212 :: true