Generated by TestNG with ReportNG at 22:20 PDT on Thursday 22 September 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.860s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.607s
2022-09-22 22:34:56 |

2022-09-22 22:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-22 22:34:56 | ------------------------------------

2022-09-22 22:34:56 | [Mutex] isItemNotified: node_izan7v0204:exists :: false

2022-09-22 22:34:56 | [Mutex] waiting for: [node_izan7v0204:create_node]

2022-09-22 22:34:56 | [Mutex] received everything.

2022-09-22 22:34:56 | [Mutex] isItemNotified: node_izan7v0204:create_node:success :: true

2022-09-22 22:34:56 | [Mutex] waiting for: [node_izan7v0204:subscribe_node]

2022-09-22 22:34:56 | [Mutex] waiting for: [node_izan7v0204:subscribe_node]

2022-09-22 22:34:56 | [Mutex] received everything.

2022-09-22 22:34:56 | [Mutex] isItemNotified: node_izan7v0204:subscribe_node:success :: true

2022-09-22 22:34:56 |


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


2022-09-22 22:34:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-22 22:34:56 | command: <data><node>node_izan7v0204</node><entry><content>content_4tkwol0205</content></entry></data>

2022-09-22 22:34:56 | target: http://localhost:8088

2022-09-22 22:34:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-22 22:34:56 | entity: <data><node>node_izan7v0204</node><entry><content>content_4tkwol0205</content></entry></data>

2022-09-22 22:34:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 05:34:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-22 22:34:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3d407189-b6e0-4eb6-837a-2d7a2735a144</value></item-id></result>

2022-09-22 22:34:56 | contains: true

2022-09-22 22:34:56 | [Mutex] received everything.

2022-09-22 22:34:56 | [Mutex] isItemNotified: user_regularof6wf50203@test-domain.com:message:received:content_4tkwol0205 :: true

2022-09-22 22:34:56 |


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


2022-09-22 22:34:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-22 22:34:56 | command: <data><node>node_izan7v0204</node><expire-at>2022-09-23T05:34:51Z</expire-at><entry><content>content_8kee0s0206</content></entry></data>

2022-09-22 22:34:56 | target: http://localhost:8088

2022-09-22 22:34:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-22 22:34:56 | entity: <data><node>node_izan7v0204</node><expire-at>2022-09-23T05:34:51Z</expire-at><entry><content>content_8kee0s0206</content></entry></data>

2022-09-22 22:34:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 05:34:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-22 22:34:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a0334683-6265-45ff-9e18-6bcf5dde66e2</value></item-id></result>

2022-09-22 22:34:56 | contains: true

2022-09-22 22:34:56 | [Mutex] waiting for: [user_regularof6wf50203@test-domain.com:message:received:content_8kee0s0206]

2022-09-22 22:35:11 | [Mutex] timeout. Not received [user_regularof6wf50203@test-domain.com:message:received:content_8kee0s0206]

2022-09-22 22:35:11 | [Mutex] isItemNotified: user_regularof6wf50203@test-domain.com:message:received:content_8kee0s0206 :: false

2022-09-22 22:35:11 |


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


2022-09-22 22:35:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-22 22:35:11 | command: <data><node>node_izan7v0204</node><entry><content>content_so54c20207</content></entry></data>

2022-09-22 22:35:11 | target: http://localhost:8088

2022-09-22 22:35:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-22 22:35:11 | entity: <data><node>node_izan7v0204</node><entry><content>content_so54c20207</content></entry></data>

2022-09-22 22:35:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 05:35:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-22 22:35:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d034b611-33f7-4a4a-bfb6-b90f5f50a77a</value></item-id></result>

2022-09-22 22:35:11 | contains: true

2022-09-22 22:35:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-09-22 22:35:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-22 22:35:17 | [Mutex] waiting for: [user_regularof6wf50203@test-domain.com:message:received:content_so54c20207]

2022-09-22 22:35:17 | [Mutex] waiting for: [user_regularof6wf50203@test-domain.com:message:received:content_so54c20207]

2022-09-22 22:35:17 | [Mutex] received everything.

2022-09-22 22:35:17 | [Mutex] isItemNotified: user_regularof6wf50203@test-domain.com:message:received:content_so54c20207 :: true

2022-09-22 22:35:17 |


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


2022-09-22 22:35:17 | [Mutex] received everything.

2022-09-22 22:35:17 | [Mutex] isItemNotified: node_izan7v0204:subscribe_node:success :: true

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

2022-09-22 22:35:17 | command: <data><node>node_izan7v0204</node><expire-at>2022-09-23T05:35:22Z</expire-at><entry><content>content_o3gftq0208</content></entry></data>

2022-09-22 22:35:17 | target: http://localhost:8088

2022-09-22 22:35:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-22 22:35:17 | entity: <data><node>node_izan7v0204</node><expire-at>2022-09-23T05:35:22Z</expire-at><entry><content>content_o3gftq0208</content></entry></data>

2022-09-22 22:35:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 05:35:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-22 22:35:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bac606f4-1402-4ae5-85e5-35b5fb9953ca</value></item-id></result>

2022-09-22 22:35:17 | contains: true

2022-09-22 22:35:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-09-22 22:35:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-22 22:35:25 | [Mutex] waiting for: [user_regularof6wf50203@test-domain.com:message:received:content_o3gftq0208]

2022-09-22 22:35:40 | [Mutex] timeout. Not received [user_regularof6wf50203@test-domain.com:message:received:content_o3gftq0208]

2022-09-22 22:35:40 | [Mutex] received everything.

2022-09-22 22:35:40 | [Mutex] isItemNotified: user_regularof6wf50203@test-domain.com:message:received:content_o3gftq0208 :: false

2022-09-22 22:35:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o3gftq0208 :: true