Generated by TestNG with ReportNG at 22:48 PDT on Monday 25 July 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.607s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.697s
2022-07-25 23:03:40 |

2022-07-25 23:03:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-25 23:03:40 | ------------------------------------

2022-07-25 23:03:40 | [Mutex] isItemNotified: node_6ttt7i0204:exists :: false

2022-07-25 23:03:40 | [Mutex] waiting for: [node_6ttt7i0204:create_node]

2022-07-25 23:03:40 | [Mutex] received everything.

2022-07-25 23:03:40 | [Mutex] isItemNotified: node_6ttt7i0204:create_node:success :: true

2022-07-25 23:03:40 | [Mutex] waiting for: [node_6ttt7i0204:subscribe_node]

2022-07-25 23:03:40 | [Mutex] waiting for: [node_6ttt7i0204:subscribe_node]

2022-07-25 23:03:40 | [Mutex] received everything.

2022-07-25 23:03:40 | [Mutex] isItemNotified: node_6ttt7i0204:subscribe_node:success :: true

2022-07-25 23:03:40 |


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


2022-07-25 23:03:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-25 23:03:40 | command: <data><node>node_6ttt7i0204</node><entry><content>content_pmu63n0205</content></entry></data>

2022-07-25 23:03:40 | target: http://localhost:8088

2022-07-25 23:03:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-25 23:03:40 | entity: <data><node>node_6ttt7i0204</node><entry><content>content_pmu63n0205</content></entry></data>

2022-07-25 23:03:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Jul 2022 06:03:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-25 23:03:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>871605fa-2b0c-4d73-a3d7-965b7e42e645</value></item-id></result>

2022-07-25 23:03:40 | contains: true

2022-07-25 23:03:40 | [Mutex] received everything.

2022-07-25 23:03:40 | [Mutex] isItemNotified: user_regular1z1u7j0203@test-domain.com:message:received:content_pmu63n0205 :: true

2022-07-25 23:03:40 |


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


2022-07-25 23:03:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-25 23:03:40 | command: <data><node>node_6ttt7i0204</node><expire-at>2022-07-26T06:03:35Z</expire-at><entry><content>content_6qllj60206</content></entry></data>

2022-07-25 23:03:40 | target: http://localhost:8088

2022-07-25 23:03:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-25 23:03:40 | entity: <data><node>node_6ttt7i0204</node><expire-at>2022-07-26T06:03:35Z</expire-at><entry><content>content_6qllj60206</content></entry></data>

2022-07-25 23:03:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Jul 2022 06:03:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-25 23:03:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>597c4ef1-7a2d-438c-bff7-aa32ed6d7171</value></item-id></result>

2022-07-25 23:03:40 | contains: true

2022-07-25 23:03:40 | [Mutex] waiting for: [user_regular1z1u7j0203@test-domain.com:message:received:content_6qllj60206]

2022-07-25 23:03:55 | [Mutex] timeout. Not received [user_regular1z1u7j0203@test-domain.com:message:received:content_6qllj60206]

2022-07-25 23:03:55 | [Mutex] isItemNotified: user_regular1z1u7j0203@test-domain.com:message:received:content_6qllj60206 :: false

2022-07-25 23:03:55 |


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


2022-07-25 23:03:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-25 23:03:55 | command: <data><node>node_6ttt7i0204</node><entry><content>content_rs99fw0207</content></entry></data>

2022-07-25 23:03:55 | target: http://localhost:8088

2022-07-25 23:03:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-25 23:03:55 | entity: <data><node>node_6ttt7i0204</node><entry><content>content_rs99fw0207</content></entry></data>

2022-07-25 23:03:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Jul 2022 06:03:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-25 23:03:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>84b77cd0-ddc9-4515-9470-878a2c86d2eb</value></item-id></result>

2022-07-25 23:03:55 | contains: true

2022-07-25 23:04:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-25 23:04:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-25 23:04:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-25 23:04:00 | [Mutex] waiting for: [user_regular1z1u7j0203@test-domain.com:message:received:content_rs99fw0207]

2022-07-25 23:04:00 | [Mutex] waiting for: [user_regular1z1u7j0203@test-domain.com:message:received:content_rs99fw0207]

2022-07-25 23:04:00 | [Mutex] received everything.

2022-07-25 23:04:00 | [Mutex] isItemNotified: user_regular1z1u7j0203@test-domain.com:message:received:content_rs99fw0207 :: true

2022-07-25 23:04:00 |


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


2022-07-25 23:04:00 | [Mutex] received everything.

2022-07-25 23:04:00 | [Mutex] isItemNotified: node_6ttt7i0204:subscribe_node:success :: true

2022-07-25 23:04:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-25 23:04:00 | command: <data><node>node_6ttt7i0204</node><expire-at>2022-07-26T06:04:05Z</expire-at><entry><content>content_wohtfy0208</content></entry></data>

2022-07-25 23:04:00 | target: http://localhost:8088

2022-07-25 23:04:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-25 23:04:00 | entity: <data><node>node_6ttt7i0204</node><expire-at>2022-07-26T06:04:05Z</expire-at><entry><content>content_wohtfy0208</content></entry></data>

2022-07-25 23:04:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Jul 2022 06:04:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-25 23:04:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>91c7466b-3586-45be-a159-2c432cd4d856</value></item-id></result>

2022-07-25 23:04:00 | contains: true

2022-07-25 23:04:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-25 23:04:09 | [Mutex] waiting for: [user_regular1z1u7j0203@test-domain.com:message:received:content_wohtfy0208]

2022-07-25 23:04:09 | [Mutex] waiting for: [user_regular1z1u7j0203@test-domain.com:message:received:content_wohtfy0208]

2022-07-25 23:04:24 | [Mutex] timeout. Not received [user_regular1z1u7j0203@test-domain.com:message:received:content_wohtfy0208]

2022-07-25 23:04:24 | [Mutex] received everything.

2022-07-25 23:04:24 | [Mutex] isItemNotified: user_regular1z1u7j0203@test-domain.com:message:received:content_wohtfy0208 :: false

2022-07-25 23:04:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wohtfy0208 :: true