Generated by TestNG with ReportNG at 22:45 PDT on Monday 18 July 2022
root@f9c07ffec79b / 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.609s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.655s
2022-07-18 23:00:25 |

2022-07-18 23:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-18 23:00:25 | ------------------------------------

2022-07-18 23:00:25 | [Mutex] isItemNotified: node_1avsdi0204:exists :: false

2022-07-18 23:00:25 | [Mutex] waiting for: [node_1avsdi0204:create_node]

2022-07-18 23:00:25 | [Mutex] received everything.

2022-07-18 23:00:25 | [Mutex] isItemNotified: node_1avsdi0204:create_node:success :: true

2022-07-18 23:00:26 | [Mutex] waiting for: [node_1avsdi0204:subscribe_node]

2022-07-18 23:00:26 | [Mutex] received everything.

2022-07-18 23:00:26 | [Mutex] isItemNotified: node_1avsdi0204:subscribe_node:success :: true

2022-07-18 23:00:26 |


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


2022-07-18 23:00:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-18 23:00:26 | command: <data><node>node_1avsdi0204</node><entry><content>content_9ct4690205</content></entry></data>

2022-07-18 23:00:26 | target: http://localhost:8088

2022-07-18 23:00:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-18 23:00:26 | entity: <data><node>node_1avsdi0204</node><entry><content>content_9ct4690205</content></entry></data>

2022-07-18 23:00:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 06:00:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-18 23:00:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e4408101-4eac-4ae5-b32f-be6a96f54f1a</value></item-id></result>

2022-07-18 23:00:26 | contains: true

2022-07-18 23:00:26 | [Mutex] waiting for: [user_regular38crku0203@test-domain.com:message:received:content_9ct4690205]

2022-07-18 23:00:26 | [Mutex] received everything.

2022-07-18 23:00:26 | [Mutex] isItemNotified: user_regular38crku0203@test-domain.com:message:received:content_9ct4690205 :: true

2022-07-18 23:00:26 |


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


2022-07-18 23:00:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-18 23:00:26 | command: <data><node>node_1avsdi0204</node><expire-at>2022-07-19T06:00:21Z</expire-at><entry><content>content_vundyy0206</content></entry></data>

2022-07-18 23:00:26 | target: http://localhost:8088

2022-07-18 23:00:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-18 23:00:26 | entity: <data><node>node_1avsdi0204</node><expire-at>2022-07-19T06:00:21Z</expire-at><entry><content>content_vundyy0206</content></entry></data>

2022-07-18 23:00:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 06:00:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-18 23:00:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9133f5cc-2008-4e10-a2d3-bbc62546a38e</value></item-id></result>

2022-07-18 23:00:26 | contains: true

2022-07-18 23:00:26 | [Mutex] waiting for: [user_regular38crku0203@test-domain.com:message:received:content_vundyy0206]

2022-07-18 23:00:41 | [Mutex] timeout. Not received [user_regular38crku0203@test-domain.com:message:received:content_vundyy0206]

2022-07-18 23:00:41 | [Mutex] isItemNotified: user_regular38crku0203@test-domain.com:message:received:content_vundyy0206 :: false

2022-07-18 23:00:41 |


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


2022-07-18 23:00:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-18 23:00:41 | command: <data><node>node_1avsdi0204</node><entry><content>content_9ehvov0207</content></entry></data>

2022-07-18 23:00:41 | target: http://localhost:8088

2022-07-18 23:00:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-18 23:00:41 | entity: <data><node>node_1avsdi0204</node><entry><content>content_9ehvov0207</content></entry></data>

2022-07-18 23:00:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 06:00:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-18 23:00:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>560b21cf-c6fc-431f-991a-239ef4014fab</value></item-id></result>

2022-07-18 23:00:41 | contains: true

2022-07-18 23:00:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-18 23:00:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-18 23:00:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-18 23:00:46 | [Mutex] waiting for: [user_regular38crku0203@test-domain.com:message:received:content_9ehvov0207]

2022-07-18 23:00:46 | [Mutex] received everything.

2022-07-18 23:00:46 | [Mutex] isItemNotified: user_regular38crku0203@test-domain.com:message:received:content_9ehvov0207 :: true

2022-07-18 23:00:46 |


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


2022-07-18 23:00:46 | [Mutex] received everything.

2022-07-18 23:00:46 | [Mutex] isItemNotified: node_1avsdi0204:subscribe_node:success :: true

2022-07-18 23:00:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-18 23:00:46 | command: <data><node>node_1avsdi0204</node><expire-at>2022-07-19T06:00:51Z</expire-at><entry><content>content_qlw6vr0208</content></entry></data>

2022-07-18 23:00:46 | target: http://localhost:8088

2022-07-18 23:00:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-18 23:00:46 | entity: <data><node>node_1avsdi0204</node><expire-at>2022-07-19T06:00:51Z</expire-at><entry><content>content_qlw6vr0208</content></entry></data>

2022-07-18 23:00:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 06:00:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-18 23:00:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6bbadde0-ee44-4601-bbb2-fb231a0451a0</value></item-id></result>

2022-07-18 23:00:46 | contains: true

2022-07-18 23:00:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-18 23:00:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-07-18 23:00:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-18 23:00:54 | [Mutex] waiting for: [user_regular38crku0203@test-domain.com:message:received:content_qlw6vr0208]

2022-07-18 23:00:54 | [Mutex] waiting for: [user_regular38crku0203@test-domain.com:message:received:content_qlw6vr0208]

2022-07-18 23:01:09 | [Mutex] timeout. Not received [user_regular38crku0203@test-domain.com:message:received:content_qlw6vr0208]

2022-07-18 23:01:09 | [Mutex] received everything.

2022-07-18 23:01:09 | [Mutex] isItemNotified: user_regular38crku0203@test-domain.com:message:received:content_qlw6vr0208 :: false

2022-07-18 23:01:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qlw6vr0208 :: true