Generated by TestNG with ReportNG at 22:23 PDT on Tuesday 17 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.550s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.641s
2022-05-17 22:39:05 |

2022-05-17 22:39:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-17 22:39:05 | ------------------------------------

2022-05-17 22:39:05 | [Mutex] isItemNotified: node_3jlps30204:exists :: false

2022-05-17 22:39:05 | [Mutex] waiting for: [node_3jlps30204:create_node]

2022-05-17 22:39:05 | [Mutex] received everything.

2022-05-17 22:39:05 | [Mutex] isItemNotified: node_3jlps30204:create_node:success :: true

2022-05-17 22:39:05 | [Mutex] waiting for: [node_3jlps30204:subscribe_node]

2022-05-17 22:39:05 | [Mutex] waiting for: [node_3jlps30204:subscribe_node]

2022-05-17 22:39:05 | [Mutex] received everything.

2022-05-17 22:39:05 | [Mutex] isItemNotified: node_3jlps30204:subscribe_node:success :: true

2022-05-17 22:39:05 |


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


2022-05-17 22:39:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-17 22:39:05 | command: <data><node>node_3jlps30204</node><entry><content>content_57ybfp0205</content></entry></data>

2022-05-17 22:39:05 | target: http://localhost:8088

2022-05-17 22:39:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-17 22:39:05 | entity: <data><node>node_3jlps30204</node><entry><content>content_57ybfp0205</content></entry></data>

2022-05-17 22:39:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 05:39:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-17 22:39:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>84b787df-d094-4c2f-91b4-fd5694e23432</value></item-id></result>

2022-05-17 22:39:06 | contains: true

2022-05-17 22:39:06 | [Mutex] received everything.

2022-05-17 22:39:06 | [Mutex] isItemNotified: user_regularomwkqn0203@test-domain.com:message:received:content_57ybfp0205 :: true

2022-05-17 22:39:06 |


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


2022-05-17 22:39:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-17 22:39:06 | command: <data><node>node_3jlps30204</node><expire-at>2022-05-18T05:39:01Z</expire-at><entry><content>content_46sx670206</content></entry></data>

2022-05-17 22:39:06 | target: http://localhost:8088

2022-05-17 22:39:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-17 22:39:06 | entity: <data><node>node_3jlps30204</node><expire-at>2022-05-18T05:39:01Z</expire-at><entry><content>content_46sx670206</content></entry></data>

2022-05-17 22:39:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 05:39:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-17 22:39:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c2c07282-dfca-43ec-ba92-998bc063daf6</value></item-id></result>

2022-05-17 22:39:06 | contains: true

2022-05-17 22:39:06 | [Mutex] waiting for: [user_regularomwkqn0203@test-domain.com:message:received:content_46sx670206]

2022-05-17 22:39:21 | [Mutex] timeout. Not received [user_regularomwkqn0203@test-domain.com:message:received:content_46sx670206]

2022-05-17 22:39:21 | [Mutex] isItemNotified: user_regularomwkqn0203@test-domain.com:message:received:content_46sx670206 :: false

2022-05-17 22:39:21 |


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


2022-05-17 22:39:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-17 22:39:21 | command: <data><node>node_3jlps30204</node><entry><content>content_l5bql30207</content></entry></data>

2022-05-17 22:39:21 | target: http://localhost:8088

2022-05-17 22:39:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-17 22:39:21 | entity: <data><node>node_3jlps30204</node><entry><content>content_l5bql30207</content></entry></data>

2022-05-17 22:39:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 05:39:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-17 22:39:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>639e20ae-9a25-45a4-af6a-e89037bb54d2</value></item-id></result>

2022-05-17 22:39:21 | contains: true

2022-05-17 22:39:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-17 22:39:26 | [Mutex] waiting for: [user_regularomwkqn0203@test-domain.com:message:received:content_l5bql30207]

2022-05-17 22:39:26 | [Mutex] waiting for: [user_regularomwkqn0203@test-domain.com:message:received:content_l5bql30207]

2022-05-17 22:39:26 | [Mutex] received everything.

2022-05-17 22:39:26 | [Mutex] isItemNotified: user_regularomwkqn0203@test-domain.com:message:received:content_l5bql30207 :: true

2022-05-17 22:39:26 |


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


2022-05-17 22:39:26 | [Mutex] received everything.

2022-05-17 22:39:26 | [Mutex] isItemNotified: node_3jlps30204:subscribe_node:success :: true

2022-05-17 22:39:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-17 22:39:26 | command: <data><node>node_3jlps30204</node><expire-at>2022-05-18T05:39:31Z</expire-at><entry><content>content_xu5t220208</content></entry></data>

2022-05-17 22:39:26 | target: http://localhost:8088

2022-05-17 22:39:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-17 22:39:26 | entity: <data><node>node_3jlps30204</node><expire-at>2022-05-18T05:39:31Z</expire-at><entry><content>content_xu5t220208</content></entry></data>

2022-05-17 22:39:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 05:39:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-17 22:39:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2dfec2d2-9eee-498a-9045-4a8ae17dc982</value></item-id></result>

2022-05-17 22:39:26 | contains: true

2022-05-17 22:39:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-17 22:39:34 | [Mutex] waiting for: [user_regularomwkqn0203@test-domain.com:message:received:content_xu5t220208]

2022-05-17 22:39:34 | [Mutex] waiting for: [user_regularomwkqn0203@test-domain.com:message:received:content_xu5t220208]

2022-05-17 22:39:49 | [Mutex] timeout. Not received [user_regularomwkqn0203@test-domain.com:message:received:content_xu5t220208]

2022-05-17 22:39:49 | [Mutex] received everything.

2022-05-17 22:39:49 | [Mutex] isItemNotified: user_regularomwkqn0203@test-domain.com:message:received:content_xu5t220208 :: false

2022-05-17 22:39:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xu5t220208 :: true