Generated by TestNG with ReportNG at 12:37 PDT on Monday 10 July 2023
root@1512af24e4a5 / 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.338s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.580s
2023-07-10 12:52:17 |

2023-07-10 12:52:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-10 12:52:17 | ------------------------------------

2023-07-10 12:52:17 | [Mutex] isItemNotified: node_2b2z7c0208:exists :: false

2023-07-10 12:52:17 | [Mutex] waiting for: [node_2b2z7c0208:create_node]

2023-07-10 12:52:17 | [Mutex] received everything.

2023-07-10 12:52:17 | [Mutex] isItemNotified: node_2b2z7c0208:create_node:success :: true

2023-07-10 12:52:17 | [Mutex] waiting for: [node_2b2z7c0208:subscribe_node]

2023-07-10 12:52:17 | [Mutex] waiting for: [node_2b2z7c0208:subscribe_node]

2023-07-10 12:52:17 | [Mutex] received everything.

2023-07-10 12:52:17 | [Mutex] isItemNotified: node_2b2z7c0208:subscribe_node:success :: true

2023-07-10 12:52:17 |


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


2023-07-10 12:52:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-10 12:52:17 | command: <data><node>node_2b2z7c0208</node><entry><content>content_9uxsb50209</content></entry></data>

2023-07-10 12:52:17 | target: http://localhost:8088

2023-07-10 12:52:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-10 12:52:17 | entity: <data><node>node_2b2z7c0208</node><entry><content>content_9uxsb50209</content></entry></data>

2023-07-10 12:52:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 19:52:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-10 12:52:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b9f29c90-1d8b-4f7e-8638-3d906c87530f</value></item-id></result>

2023-07-10 12:52:17 | contains: true

2023-07-10 12:52:17 | [Mutex] waiting for: [user_regulariysr030207@test-domain.com:message:received:content_9uxsb50209]

2023-07-10 12:52:17 | [Mutex] received everything.

2023-07-10 12:52:17 | [Mutex] isItemNotified: user_regulariysr030207@test-domain.com:message:received:content_9uxsb50209 :: true

2023-07-10 12:52:17 |


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


2023-07-10 12:52:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-10 12:52:17 | command: <data><node>node_2b2z7c0208</node><expire-at>2023-07-10T19:52:12Z</expire-at><entry><content>content_ly5i80210</content></entry></data>

2023-07-10 12:52:17 | target: http://localhost:8088

2023-07-10 12:52:17 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2023-07-10 12:52:17 | entity: <data><node>node_2b2z7c0208</node><expire-at>2023-07-10T19:52:12Z</expire-at><entry><content>content_ly5i80210</content></entry></data>

2023-07-10 12:52:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 19:52:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-10 12:52:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>664ca8b3-b728-4024-82e4-a7125f12792c</value></item-id></result>

2023-07-10 12:52:17 | contains: true

2023-07-10 12:52:17 | [Mutex] waiting for: [user_regulariysr030207@test-domain.com:message:received:content_ly5i80210]

2023-07-10 12:52:32 | [Mutex] timeout. Not received [user_regulariysr030207@test-domain.com:message:received:content_ly5i80210]

2023-07-10 12:52:32 | [Mutex] isItemNotified: user_regulariysr030207@test-domain.com:message:received:content_ly5i80210 :: false

2023-07-10 12:52:32 |


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


2023-07-10 12:52:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-10 12:52:32 | command: <data><node>node_2b2z7c0208</node><entry><content>content_l2nn920211</content></entry></data>

2023-07-10 12:52:32 | target: http://localhost:8088

2023-07-10 12:52:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-10 12:52:32 | entity: <data><node>node_2b2z7c0208</node><entry><content>content_l2nn920211</content></entry></data>

2023-07-10 12:52:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 19:52:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-10 12:52:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>371ebb7d-5c90-47e7-85f1-15f7a2eb37cb</value></item-id></result>

2023-07-10 12:52:32 | contains: true

2023-07-10 12:52:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-07-10 12:52:37 | [Mutex] waiting for: [user_regulariysr030207@test-domain.com:message:received:content_l2nn920211]

2023-07-10 12:52:37 | [Mutex] waiting for: [user_regulariysr030207@test-domain.com:message:received:content_l2nn920211]

2023-07-10 12:52:37 | [Mutex] received everything.

2023-07-10 12:52:37 | [Mutex] isItemNotified: user_regulariysr030207@test-domain.com:message:received:content_l2nn920211 :: true

2023-07-10 12:52:37 |


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


2023-07-10 12:52:37 | [Mutex] received everything.

2023-07-10 12:52:37 | [Mutex] isItemNotified: node_2b2z7c0208:subscribe_node:success :: true

2023-07-10 12:52:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-10 12:52:37 | command: <data><node>node_2b2z7c0208</node><expire-at>2023-07-10T19:52:42Z</expire-at><entry><content>content_egsgeu0212</content></entry></data>

2023-07-10 12:52:37 | target: http://localhost:8088

2023-07-10 12:52:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-10 12:52:37 | entity: <data><node>node_2b2z7c0208</node><expire-at>2023-07-10T19:52:42Z</expire-at><entry><content>content_egsgeu0212</content></entry></data>

2023-07-10 12:52:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 19:52:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-10 12:52:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>348e867a-b084-4d00-82cd-691867631817</value></item-id></result>

2023-07-10 12:52:37 | contains: true

2023-07-10 12:52:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-07-10 12:52:45 | [Mutex] waiting for: [user_regulariysr030207@test-domain.com:message:received:content_egsgeu0212]

2023-07-10 12:53:00 | [Mutex] timeout. Not received [user_regulariysr030207@test-domain.com:message:received:content_egsgeu0212]

2023-07-10 12:53:00 | [Mutex] received everything.

2023-07-10 12:53:00 | [Mutex] isItemNotified: user_regulariysr030207@test-domain.com:message:received:content_egsgeu0212 :: false

2023-07-10 12:53:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_egsgeu0212 :: true