Generated by TestNG with ReportNG at 22:53 PDT on Sunday 22 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.978s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.641s
2022-05-22 23:08:28 |

2022-05-22 23:08:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-22 23:08:28 | ------------------------------------

2022-05-22 23:08:28 | [Mutex] isItemNotified: node_17qhoz0204:exists :: false

2022-05-22 23:08:28 | [Mutex] waiting for: [node_17qhoz0204:create_node]

2022-05-22 23:08:28 | [Mutex] waiting for: [node_17qhoz0204:create_node]

2022-05-22 23:08:28 | [Mutex] received everything.

2022-05-22 23:08:28 | [Mutex] isItemNotified: node_17qhoz0204:create_node:success :: true

2022-05-22 23:08:28 | [Mutex] waiting for: [node_17qhoz0204:subscribe_node]

2022-05-22 23:08:28 | [Mutex] waiting for: [node_17qhoz0204:subscribe_node]

2022-05-22 23:08:28 | [Mutex] received everything.

2022-05-22 23:08:28 | [Mutex] isItemNotified: node_17qhoz0204:subscribe_node:success :: true

2022-05-22 23:08:28 |


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


2022-05-22 23:08:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-22 23:08:28 | command: <data><node>node_17qhoz0204</node><entry><content>content_eheabs0205</content></entry></data>

2022-05-22 23:08:28 | target: http://localhost:8088

2022-05-22 23:08:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-22 23:08:28 | entity: <data><node>node_17qhoz0204</node><entry><content>content_eheabs0205</content></entry></data>

2022-05-22 23:08:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 06:08:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-22 23:08:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>12916dd6-859f-4259-8702-85f5bbc78cb4</value></item-id></result>

2022-05-22 23:08:28 | contains: true

2022-05-22 23:08:28 | [Mutex] received everything.

2022-05-22 23:08:28 | [Mutex] isItemNotified: user_regularzdj2tc0203@test-domain.com:message:received:content_eheabs0205 :: true

2022-05-22 23:08:28 |


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


2022-05-22 23:08:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-22 23:08:28 | command: <data><node>node_17qhoz0204</node><expire-at>2022-05-23T06:08:23Z</expire-at><entry><content>content_z34b4u0206</content></entry></data>

2022-05-22 23:08:28 | target: http://localhost:8088

2022-05-22 23:08:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-22 23:08:28 | entity: <data><node>node_17qhoz0204</node><expire-at>2022-05-23T06:08:23Z</expire-at><entry><content>content_z34b4u0206</content></entry></data>

2022-05-22 23:08:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 06:08:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-22 23:08:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d6069fcc-60be-4de8-8718-66239a853681</value></item-id></result>

2022-05-22 23:08:28 | contains: true

2022-05-22 23:08:28 | [Mutex] waiting for: [user_regularzdj2tc0203@test-domain.com:message:received:content_z34b4u0206]

2022-05-22 23:08:43 | [Mutex] timeout. Not received [user_regularzdj2tc0203@test-domain.com:message:received:content_z34b4u0206]

2022-05-22 23:08:43 | [Mutex] isItemNotified: user_regularzdj2tc0203@test-domain.com:message:received:content_z34b4u0206 :: false

2022-05-22 23:08:43 |


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


2022-05-22 23:08:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-22 23:08:43 | command: <data><node>node_17qhoz0204</node><entry><content>content_p5w6510207</content></entry></data>

2022-05-22 23:08:43 | target: http://localhost:8088

2022-05-22 23:08:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-22 23:08:43 | entity: <data><node>node_17qhoz0204</node><entry><content>content_p5w6510207</content></entry></data>

2022-05-22 23:08:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 06:08:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-22 23:08:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>111156d3-30b6-4eb4-b977-91fc4b63bb17</value></item-id></result>

2022-05-22 23:08:43 | contains: true

2022-05-22 23:08:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-22 23:08:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-05-22 23:08:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-22 23:08:49 | [Mutex] waiting for: [user_regularzdj2tc0203@test-domain.com:message:received:content_p5w6510207]

2022-05-22 23:08:49 | [Mutex] waiting for: [user_regularzdj2tc0203@test-domain.com:message:received:content_p5w6510207]

2022-05-22 23:08:49 | [Mutex] received everything.

2022-05-22 23:08:49 | [Mutex] isItemNotified: user_regularzdj2tc0203@test-domain.com:message:received:content_p5w6510207 :: true

2022-05-22 23:08:49 |


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


2022-05-22 23:08:49 | [Mutex] received everything.

2022-05-22 23:08:49 | [Mutex] isItemNotified: node_17qhoz0204:subscribe_node:success :: true

2022-05-22 23:08:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-22 23:08:49 | command: <data><node>node_17qhoz0204</node><expire-at>2022-05-23T06:08:54Z</expire-at><entry><content>content_7ke05n0208</content></entry></data>

2022-05-22 23:08:49 | target: http://localhost:8088

2022-05-22 23:08:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-22 23:08:49 | entity: <data><node>node_17qhoz0204</node><expire-at>2022-05-23T06:08:54Z</expire-at><entry><content>content_7ke05n0208</content></entry></data>

2022-05-22 23:08:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 06:08:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-22 23:08:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ed45dc5b-ddd2-46c2-84ca-63879165c557</value></item-id></result>

2022-05-22 23:08:49 | contains: true

2022-05-22 23:08:57 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-22 23:08:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-05-22 23:08:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-22 23:08:57 | [Mutex] waiting for: [user_regularzdj2tc0203@test-domain.com:message:received:content_7ke05n0208]

2022-05-22 23:08:57 | [Mutex] waiting for: [user_regularzdj2tc0203@test-domain.com:message:received:content_7ke05n0208]

2022-05-22 23:08:57 | [Mutex] waiting for: [user_regularzdj2tc0203@test-domain.com:message:received:content_7ke05n0208]

2022-05-22 23:09:12 | [Mutex] timeout. Not received [user_regularzdj2tc0203@test-domain.com:message:received:content_7ke05n0208]

2022-05-22 23:09:12 | [Mutex] received everything.

2022-05-22 23:09:12 | [Mutex] isItemNotified: user_regularzdj2tc0203@test-domain.com:message:received:content_7ke05n0208 :: false

2022-05-22 23:09:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7ke05n0208 :: true