Generated by TestNG with ReportNG at 22:51 PDT on Wednesday 29 June 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.884s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.551s
2022-06-29 23:05:26 |

2022-06-29 23:05:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-29 23:05:26 | ------------------------------------

2022-06-29 23:05:26 | [Mutex] isItemNotified: node_5n5vur0204:exists :: false

2022-06-29 23:05:26 | [Mutex] waiting for: [node_5n5vur0204:create_node]

2022-06-29 23:05:26 | [Mutex] received everything.

2022-06-29 23:05:26 | [Mutex] isItemNotified: node_5n5vur0204:create_node:success :: true

2022-06-29 23:05:26 | [Mutex] waiting for: [node_5n5vur0204:subscribe_node]

2022-06-29 23:05:26 | [Mutex] received everything.

2022-06-29 23:05:26 | [Mutex] isItemNotified: node_5n5vur0204:subscribe_node:success :: true

2022-06-29 23:05:26 |


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


2022-06-29 23:05:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-29 23:05:26 | command: <data><node>node_5n5vur0204</node><entry><content>content_frw9qc0205</content></entry></data>

2022-06-29 23:05:26 | target: http://localhost:8088

2022-06-29 23:05:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-29 23:05:26 | entity: <data><node>node_5n5vur0204</node><entry><content>content_frw9qc0205</content></entry></data>

2022-06-29 23:05:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 06:05:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-29 23:05:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>55bc0f6c-2a2e-4a65-970a-b9488c5f79dd</value></item-id></result>

2022-06-29 23:05:26 | contains: true

2022-06-29 23:05:26 | [Mutex] waiting for: [user_regular1kdyj00203@test-domain.com:message:received:content_frw9qc0205]

2022-06-29 23:05:26 | [Mutex] received everything.

2022-06-29 23:05:26 | [Mutex] isItemNotified: user_regular1kdyj00203@test-domain.com:message:received:content_frw9qc0205 :: true

2022-06-29 23:05:26 |


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


2022-06-29 23:05:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-29 23:05:26 | command: <data><node>node_5n5vur0204</node><expire-at>2022-06-30T06:05:21Z</expire-at><entry><content>content_6xitg10206</content></entry></data>

2022-06-29 23:05:26 | target: http://localhost:8088

2022-06-29 23:05:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-29 23:05:26 | entity: <data><node>node_5n5vur0204</node><expire-at>2022-06-30T06:05:21Z</expire-at><entry><content>content_6xitg10206</content></entry></data>

2022-06-29 23:05:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 06:05:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-29 23:05:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1c2035a4-089a-48e8-a827-f9f67c6fb5be</value></item-id></result>

2022-06-29 23:05:26 | contains: true

2022-06-29 23:05:26 | [Mutex] waiting for: [user_regular1kdyj00203@test-domain.com:message:received:content_6xitg10206]

2022-06-29 23:05:41 | [Mutex] timeout. Not received [user_regular1kdyj00203@test-domain.com:message:received:content_6xitg10206]

2022-06-29 23:05:41 | [Mutex] isItemNotified: user_regular1kdyj00203@test-domain.com:message:received:content_6xitg10206 :: false

2022-06-29 23:05:41 |


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


2022-06-29 23:05:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-29 23:05:41 | command: <data><node>node_5n5vur0204</node><entry><content>content_lywlha0207</content></entry></data>

2022-06-29 23:05:41 | target: http://localhost:8088

2022-06-29 23:05:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-29 23:05:41 | entity: <data><node>node_5n5vur0204</node><entry><content>content_lywlha0207</content></entry></data>

2022-06-29 23:05:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 06:05:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-29 23:05:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>73ad6c64-17ee-46fe-8bcc-0e663de2ed1d</value></item-id></result>

2022-06-29 23:05:41 | contains: true

2022-06-29 23:05:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-29 23:05:46 | [Mutex] waiting for: [user_regular1kdyj00203@test-domain.com:message:received:content_lywlha0207]

2022-06-29 23:05:46 | [Mutex] received everything.

2022-06-29 23:05:46 | [Mutex] isItemNotified: user_regular1kdyj00203@test-domain.com:message:received:content_lywlha0207 :: true

2022-06-29 23:05:46 |


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


2022-06-29 23:05:46 | [Mutex] received everything.

2022-06-29 23:05:46 | [Mutex] isItemNotified: node_5n5vur0204:subscribe_node:success :: true

2022-06-29 23:05:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-29 23:05:46 | command: <data><node>node_5n5vur0204</node><expire-at>2022-06-30T06:05:51Z</expire-at><entry><content>content_royfs60208</content></entry></data>

2022-06-29 23:05:46 | target: http://localhost:8088

2022-06-29 23:05:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-29 23:05:46 | entity: <data><node>node_5n5vur0204</node><expire-at>2022-06-30T06:05:51Z</expire-at><entry><content>content_royfs60208</content></entry></data>

2022-06-29 23:05:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 06:05:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-29 23:05:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6f73293e-6071-405f-8f91-3bc6d9a50609</value></item-id></result>

2022-06-29 23:05:46 | contains: true

2022-06-29 23:05:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-29 23:05:54 | [Mutex] waiting for: [user_regular1kdyj00203@test-domain.com:message:received:content_royfs60208]

2022-06-29 23:05:54 | [Mutex] waiting for: [user_regular1kdyj00203@test-domain.com:message:received:content_royfs60208]

2022-06-29 23:05:54 | [Mutex] waiting for: [user_regular1kdyj00203@test-domain.com:message:received:content_royfs60208]

2022-06-29 23:06:09 | [Mutex] timeout. Not received [user_regular1kdyj00203@test-domain.com:message:received:content_royfs60208]

2022-06-29 23:06:09 | [Mutex] received everything.

2022-06-29 23:06:09 | [Mutex] isItemNotified: user_regular1kdyj00203@test-domain.com:message:received:content_royfs60208 :: false

2022-06-29 23:06:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_royfs60208 :: true