Generated by TestNG with ReportNG at 21:43 PST on Monday 27 February 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.984s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.776s
2023-02-27 21:58:23 |

2023-02-27 21:58:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-02-27 21:58:23 | ------------------------------------

2023-02-27 21:58:23 | [Mutex] isItemNotified: node_bb6c6r0204:exists :: false

2023-02-27 21:58:23 | [Mutex] waiting for: [node_bb6c6r0204:create_node]

2023-02-27 21:58:23 | [Mutex] received everything.

2023-02-27 21:58:23 | [Mutex] isItemNotified: node_bb6c6r0204:create_node:success :: true

2023-02-27 21:58:23 | [Mutex] waiting for: [node_bb6c6r0204:subscribe_node]

2023-02-27 21:58:23 | [Mutex] waiting for: [node_bb6c6r0204:subscribe_node]

2023-02-27 21:58:23 | [Mutex] received everything.

2023-02-27 21:58:23 | [Mutex] isItemNotified: node_bb6c6r0204:subscribe_node:success :: true

2023-02-27 21:58:23 |


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


2023-02-27 21:58:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-27 21:58:23 | command: <data><node>node_bb6c6r0204</node><entry><content>content_m1u2920205</content></entry></data>

2023-02-27 21:58:23 | target: http://localhost:8088

2023-02-27 21:58:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-27 21:58:23 | entity: <data><node>node_bb6c6r0204</node><entry><content>content_m1u2920205</content></entry></data>

2023-02-27 21:58:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:58:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 21:58:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6d54f221-6ac6-40d7-9377-1788feb90f4d</value></item-id></result>

2023-02-27 21:58:23 | contains: true

2023-02-27 21:58:23 | [Mutex] waiting for: [user_regularc8q4hy0203@test-domain.com:message:received:content_m1u2920205]

2023-02-27 21:58:23 | [Mutex] received everything.

2023-02-27 21:58:23 | [Mutex] isItemNotified: user_regularc8q4hy0203@test-domain.com:message:received:content_m1u2920205 :: true

2023-02-27 21:58:23 |


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


2023-02-27 21:58:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-27 21:58:23 | command: <data><node>node_bb6c6r0204</node><expire-at>2023-02-28T05:58:18Z</expire-at><entry><content>content_627ss30206</content></entry></data>

2023-02-27 21:58:23 | target: http://localhost:8088

2023-02-27 21:58:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-27 21:58:23 | entity: <data><node>node_bb6c6r0204</node><expire-at>2023-02-28T05:58:18Z</expire-at><entry><content>content_627ss30206</content></entry></data>

2023-02-27 21:58:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:58:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 21:58:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a336d3a8-6375-4ac0-b095-d6f1fceb950a</value></item-id></result>

2023-02-27 21:58:23 | contains: true

2023-02-27 21:58:23 | [Mutex] waiting for: [user_regularc8q4hy0203@test-domain.com:message:received:content_627ss30206]

2023-02-27 21:58:38 | [Mutex] timeout. Not received [user_regularc8q4hy0203@test-domain.com:message:received:content_627ss30206]

2023-02-27 21:58:38 | [Mutex] isItemNotified: user_regularc8q4hy0203@test-domain.com:message:received:content_627ss30206 :: false

2023-02-27 21:58:38 |


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


2023-02-27 21:58:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-27 21:58:38 | command: <data><node>node_bb6c6r0204</node><entry><content>content_hd044r0207</content></entry></data>

2023-02-27 21:58:38 | target: http://localhost:8088

2023-02-27 21:58:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-27 21:58:38 | entity: <data><node>node_bb6c6r0204</node><entry><content>content_hd044r0207</content></entry></data>

2023-02-27 21:58:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:58:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 21:58:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f0132ec2-ed42-4356-9e41-40f2f3a9b0b7</value></item-id></result>

2023-02-27 21:58:38 | contains: true

2023-02-27 21:58:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-27 21:58:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-02-27 21:58:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-27 21:58:43 | [Mutex] waiting for: [user_regularc8q4hy0203@test-domain.com:message:received:content_hd044r0207]

2023-02-27 21:58:43 | [Mutex] waiting for: [user_regularc8q4hy0203@test-domain.com:message:received:content_hd044r0207]

2023-02-27 21:58:43 | [Mutex] received everything.

2023-02-27 21:58:43 | [Mutex] isItemNotified: user_regularc8q4hy0203@test-domain.com:message:received:content_hd044r0207 :: true

2023-02-27 21:58:43 |


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


2023-02-27 21:58:43 | [Mutex] received everything.

2023-02-27 21:58:43 | [Mutex] isItemNotified: node_bb6c6r0204:subscribe_node:success :: true

2023-02-27 21:58:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-27 21:58:43 | command: <data><node>node_bb6c6r0204</node><expire-at>2023-02-28T05:58:48Z</expire-at><entry><content>content_spovqr0208</content></entry></data>

2023-02-27 21:58:43 | target: http://localhost:8088

2023-02-27 21:58:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-27 21:58:43 | entity: <data><node>node_bb6c6r0204</node><expire-at>2023-02-28T05:58:48Z</expire-at><entry><content>content_spovqr0208</content></entry></data>

2023-02-27 21:58:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:58:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 21:58:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>349c05a3-d35e-4e96-b65c-dc143ba493b4</value></item-id></result>

2023-02-27 21:58:44 | contains: true

2023-02-27 21:58:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-27 21:58:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-02-27 21:58:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-27 21:58:52 | [Mutex] waiting for: [user_regularc8q4hy0203@test-domain.com:message:received:content_spovqr0208]

2023-02-27 21:58:52 | [Mutex] waiting for: [user_regularc8q4hy0203@test-domain.com:message:received:content_spovqr0208]

2023-02-27 21:59:07 | [Mutex] timeout. Not received [user_regularc8q4hy0203@test-domain.com:message:received:content_spovqr0208]

2023-02-27 21:59:07 | [Mutex] received everything.

2023-02-27 21:59:07 | [Mutex] isItemNotified: user_regularc8q4hy0203@test-domain.com:message:received:content_spovqr0208 :: false

2023-02-27 21:59:07 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_spovqr0208 :: true