Generated by TestNG with ReportNG at 21:15 PST on Thursday 22 December 2022
root@ed1b7dd8a1b3 / 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.577s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.634s
2022-12-22 21:30:58 |

2022-12-22 21:30:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-12-22 21:30:58 | ------------------------------------

2022-12-22 21:30:58 | [Mutex] isItemNotified: node_9uts2k0204:exists :: false

2022-12-22 21:30:58 | [Mutex] waiting for: [node_9uts2k0204:create_node]

2022-12-22 21:30:58 | [Mutex] received everything.

2022-12-22 21:30:58 | [Mutex] isItemNotified: node_9uts2k0204:create_node:success :: true

2022-12-22 21:30:58 | [Mutex] waiting for: [node_9uts2k0204:subscribe_node]

2022-12-22 21:30:59 | [Mutex] waiting for: [node_9uts2k0204:subscribe_node]

2022-12-22 21:30:59 | [Mutex] received everything.

2022-12-22 21:30:59 | [Mutex] isItemNotified: node_9uts2k0204:subscribe_node:success :: true

2022-12-22 21:30:59 |


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


2022-12-22 21:30:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-22 21:30:59 | command: <data><node>node_9uts2k0204</node><entry><content>content_hj93870205</content></entry></data>

2022-12-22 21:30:59 | target: http://localhost:8088

2022-12-22 21:30:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-22 21:30:59 | entity: <data><node>node_9uts2k0204</node><entry><content>content_hj93870205</content></entry></data>

2022-12-22 21:30:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 05:30:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-22 21:30:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>624ba6ff-b978-444e-bcaf-9ac865ed3af8</value></item-id></result>

2022-12-22 21:30:59 | contains: true

2022-12-22 21:30:59 | [Mutex] received everything.

2022-12-22 21:30:59 | [Mutex] isItemNotified: user_regularrdchel0203@test-domain.com:message:received:content_hj93870205 :: true

2022-12-22 21:30:59 |


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


2022-12-22 21:30:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-22 21:30:59 | command: <data><node>node_9uts2k0204</node><expire-at>2022-12-23T05:30:54Z</expire-at><entry><content>content_ife0d90206</content></entry></data>

2022-12-22 21:30:59 | target: http://localhost:8088

2022-12-22 21:30:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-22 21:30:59 | entity: <data><node>node_9uts2k0204</node><expire-at>2022-12-23T05:30:54Z</expire-at><entry><content>content_ife0d90206</content></entry></data>

2022-12-22 21:30:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 05:30:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-22 21:30:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ceeec829-95a6-44ac-be43-450dc5acedd1</value></item-id></result>

2022-12-22 21:30:59 | contains: true

2022-12-22 21:30:59 | [Mutex] waiting for: [user_regularrdchel0203@test-domain.com:message:received:content_ife0d90206]

2022-12-22 21:31:14 | [Mutex] timeout. Not received [user_regularrdchel0203@test-domain.com:message:received:content_ife0d90206]

2022-12-22 21:31:14 | [Mutex] isItemNotified: user_regularrdchel0203@test-domain.com:message:received:content_ife0d90206 :: false

2022-12-22 21:31:14 |


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


2022-12-22 21:31:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-22 21:31:14 | command: <data><node>node_9uts2k0204</node><entry><content>content_2eyyf20207</content></entry></data>

2022-12-22 21:31:14 | target: http://localhost:8088

2022-12-22 21:31:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-22 21:31:14 | entity: <data><node>node_9uts2k0204</node><entry><content>content_2eyyf20207</content></entry></data>

2022-12-22 21:31:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 05:31:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-22 21:31:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>866f1d11-8368-4b54-b195-d6e97400e6df</value></item-id></result>

2022-12-22 21:31:14 | contains: true

2022-12-22 21:31:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-22 21:31:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-12-22 21:31:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-22 21:31:19 | [Mutex] waiting for: [user_regularrdchel0203@test-domain.com:message:received:content_2eyyf20207]

2022-12-22 21:31:19 | [Mutex] received everything.

2022-12-22 21:31:19 | [Mutex] isItemNotified: user_regularrdchel0203@test-domain.com:message:received:content_2eyyf20207 :: true

2022-12-22 21:31:19 |


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


2022-12-22 21:31:19 | [Mutex] received everything.

2022-12-22 21:31:19 | [Mutex] isItemNotified: node_9uts2k0204:subscribe_node:success :: true

2022-12-22 21:31:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-22 21:31:19 | command: <data><node>node_9uts2k0204</node><expire-at>2022-12-23T05:31:24Z</expire-at><entry><content>content_arbmtq0208</content></entry></data>

2022-12-22 21:31:19 | target: http://localhost:8088

2022-12-22 21:31:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-22 21:31:19 | entity: <data><node>node_9uts2k0204</node><expire-at>2022-12-23T05:31:24Z</expire-at><entry><content>content_arbmtq0208</content></entry></data>

2022-12-22 21:31:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 05:31:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-22 21:31:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cab3cf00-44b7-4410-a76a-da3b1a40ec59</value></item-id></result>

2022-12-22 21:31:19 | contains: true

2022-12-22 21:31:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-22 21:31:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-12-22 21:31:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-22 21:31:27 | [Mutex] waiting for: [user_regularrdchel0203@test-domain.com:message:received:content_arbmtq0208]

2022-12-22 21:31:27 | [Mutex] waiting for: [user_regularrdchel0203@test-domain.com:message:received:content_arbmtq0208]

2022-12-22 21:31:42 | [Mutex] timeout. Not received [user_regularrdchel0203@test-domain.com:message:received:content_arbmtq0208]

2022-12-22 21:31:42 | [Mutex] received everything.

2022-12-22 21:31:42 | [Mutex] isItemNotified: user_regularrdchel0203@test-domain.com:message:received:content_arbmtq0208 :: false

2022-12-22 21:31:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_arbmtq0208 :: true