Generated by TestNG with ReportNG at 00:45 PDT on Friday 29 September 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.593s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.596s
2023-09-29 00:59:37 |

2023-09-29 00:59:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-09-29 00:59:37 | ------------------------------------

2023-09-29 00:59:37 | [Mutex] isItemNotified: node_p73qzx0208:exists :: false

2023-09-29 00:59:37 | [Mutex] waiting for: [node_p73qzx0208:create_node]

2023-09-29 00:59:37 | [Mutex] received everything.

2023-09-29 00:59:37 | [Mutex] isItemNotified: node_p73qzx0208:create_node:success :: true

2023-09-29 00:59:37 | [Mutex] waiting for: [node_p73qzx0208:subscribe_node]

2023-09-29 00:59:37 | [Mutex] waiting for: [node_p73qzx0208:subscribe_node]

2023-09-29 00:59:37 | [Mutex] received everything.

2023-09-29 00:59:37 | [Mutex] isItemNotified: node_p73qzx0208:subscribe_node:success :: true

2023-09-29 00:59:37 |


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


2023-09-29 00:59:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-09-29 00:59:37 | command: <data><node>node_p73qzx0208</node><entry><content>content_wsukkn0209</content></entry></data>

2023-09-29 00:59:37 | target: http://localhost:8088

2023-09-29 00:59:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-09-29 00:59:37 | entity: <data><node>node_p73qzx0208</node><entry><content>content_wsukkn0209</content></entry></data>

2023-09-29 00:59:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 07:59:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-09-29 00:59:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3f0f326b-baf2-4eea-9f9d-e956c9e805bf</value></item-id></result>

2023-09-29 00:59:37 | contains: true

2023-09-29 00:59:37 | [Mutex] waiting for: [user_regularh8l20l0207@test-domain.com:message:received:content_wsukkn0209]

2023-09-29 00:59:37 | [Mutex] received everything.

2023-09-29 00:59:37 | [Mutex] isItemNotified: user_regularh8l20l0207@test-domain.com:message:received:content_wsukkn0209 :: true

2023-09-29 00:59:37 |


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


2023-09-29 00:59:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-09-29 00:59:37 | command: <data><node>node_p73qzx0208</node><expire-at>2023-09-29T07:59:32Z</expire-at><entry><content>content_c9z1fa0210</content></entry></data>

2023-09-29 00:59:37 | target: http://localhost:8088

2023-09-29 00:59:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-09-29 00:59:37 | entity: <data><node>node_p73qzx0208</node><expire-at>2023-09-29T07:59:32Z</expire-at><entry><content>content_c9z1fa0210</content></entry></data>

2023-09-29 00:59:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 07:59:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-09-29 00:59:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>705b002e-22ba-4eff-9342-3338353eb2a8</value></item-id></result>

2023-09-29 00:59:37 | contains: true

2023-09-29 00:59:37 | [Mutex] waiting for: [user_regularh8l20l0207@test-domain.com:message:received:content_c9z1fa0210]

2023-09-29 00:59:52 | [Mutex] timeout. Not received [user_regularh8l20l0207@test-domain.com:message:received:content_c9z1fa0210]

2023-09-29 00:59:52 | [Mutex] isItemNotified: user_regularh8l20l0207@test-domain.com:message:received:content_c9z1fa0210 :: false

2023-09-29 00:59:52 |


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


2023-09-29 00:59:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-09-29 00:59:52 | command: <data><node>node_p73qzx0208</node><entry><content>content_n4ds6n0211</content></entry></data>

2023-09-29 00:59:52 | target: http://localhost:8088

2023-09-29 00:59:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-09-29 00:59:52 | entity: <data><node>node_p73qzx0208</node><entry><content>content_n4ds6n0211</content></entry></data>

2023-09-29 00:59:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 07:59:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-09-29 00:59:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d5fcdd12-9a92-46f9-ae36-ea5509e11afb</value></item-id></result>

2023-09-29 00:59:52 | contains: true

2023-09-29 00:59:57 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-09-29 00:59:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-09-29 00:59:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-09-29 00:59:58 | [Mutex] waiting for: [user_regularh8l20l0207@test-domain.com:message:received:content_n4ds6n0211]

2023-09-29 00:59:58 | [Mutex] waiting for: [user_regularh8l20l0207@test-domain.com:message:received:content_n4ds6n0211]

2023-09-29 00:59:58 | [Mutex] received everything.

2023-09-29 00:59:58 | [Mutex] isItemNotified: user_regularh8l20l0207@test-domain.com:message:received:content_n4ds6n0211 :: true

2023-09-29 00:59:58 |


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


2023-09-29 00:59:58 | [Mutex] received everything.

2023-09-29 00:59:58 | [Mutex] isItemNotified: node_p73qzx0208:subscribe_node:success :: true

2023-09-29 00:59:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-09-29 00:59:58 | command: <data><node>node_p73qzx0208</node><expire-at>2023-09-29T08:00:03Z</expire-at><entry><content>content_dizw4o0212</content></entry></data>

2023-09-29 00:59:58 | target: http://localhost:8088

2023-09-29 00:59:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-09-29 00:59:58 | entity: <data><node>node_p73qzx0208</node><expire-at>2023-09-29T08:00:03Z</expire-at><entry><content>content_dizw4o0212</content></entry></data>

2023-09-29 00:59:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 07:59:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-09-29 00:59:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>588b1ef9-f74d-4690-9c1c-89fdda1624cd</value></item-id></result>

2023-09-29 00:59:58 | contains: true

2023-09-29 01:00:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-09-29 01:00:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-09-29 01:00:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-09-29 01:00:06 | [Mutex] waiting for: [user_regularh8l20l0207@test-domain.com:message:received:content_dizw4o0212]

2023-09-29 01:00:06 | [Mutex] waiting for: [user_regularh8l20l0207@test-domain.com:message:received:content_dizw4o0212]

2023-09-29 01:00:21 | [Mutex] timeout. Not received [user_regularh8l20l0207@test-domain.com:message:received:content_dizw4o0212]

2023-09-29 01:00:21 | [Mutex] received everything.

2023-09-29 01:00:21 | [Mutex] isItemNotified: user_regularh8l20l0207@test-domain.com:message:received:content_dizw4o0212 :: false

2023-09-29 01:00:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_dizw4o0212 :: true