Generated by TestNG with ReportNG at 22:17 PDT on Thursday 07 July 2022
root@f9c07ffec79b / 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.914s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.578s
2022-07-07 22:33:04 |

2022-07-07 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-07 22:33:04 | ------------------------------------

2022-07-07 22:33:04 | [Mutex] isItemNotified: node_rab0wr0204:exists :: false

2022-07-07 22:33:04 | [Mutex] waiting for: [node_rab0wr0204:create_node]

2022-07-07 22:33:04 | [Mutex] received everything.

2022-07-07 22:33:04 | [Mutex] isItemNotified: node_rab0wr0204:create_node:success :: true

2022-07-07 22:33:04 | [Mutex] waiting for: [node_rab0wr0204:subscribe_node]

2022-07-07 22:33:04 | [Mutex] waiting for: [node_rab0wr0204:subscribe_node]

2022-07-07 22:33:04 | [Mutex] received everything.

2022-07-07 22:33:04 | [Mutex] isItemNotified: node_rab0wr0204:subscribe_node:success :: true

2022-07-07 22:33:04 |


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


2022-07-07 22:33:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-07 22:33:04 | command: <data><node>node_rab0wr0204</node><entry><content>content_lgb47e0205</content></entry></data>

2022-07-07 22:33:04 | target: http://localhost:8088

2022-07-07 22:33:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-07 22:33:04 | entity: <data><node>node_rab0wr0204</node><entry><content>content_lgb47e0205</content></entry></data>

2022-07-07 22:33:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:33:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-07 22:33:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>be1ab0c4-9ac5-446b-a108-400dbca4afd2</value></item-id></result>

2022-07-07 22:33:05 | contains: true

2022-07-07 22:33:05 | [Mutex] received everything.

2022-07-07 22:33:05 | [Mutex] isItemNotified: user_regular9k3vvx0203@test-domain.com:message:received:content_lgb47e0205 :: true

2022-07-07 22:33:05 |


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


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

2022-07-07 22:33:05 | command: <data><node>node_rab0wr0204</node><expire-at>2022-07-08T05:33:00Z</expire-at><entry><content>content_icsroc0206</content></entry></data>

2022-07-07 22:33:05 | target: http://localhost:8088

2022-07-07 22:33:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-07 22:33:05 | entity: <data><node>node_rab0wr0204</node><expire-at>2022-07-08T05:33:00Z</expire-at><entry><content>content_icsroc0206</content></entry></data>

2022-07-07 22:33:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:33:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-07 22:33:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e2b0a6f2-ef43-4a71-975b-d7e3de7a95ff</value></item-id></result>

2022-07-07 22:33:05 | contains: true

2022-07-07 22:33:05 | [Mutex] waiting for: [user_regular9k3vvx0203@test-domain.com:message:received:content_icsroc0206]

2022-07-07 22:33:20 | [Mutex] timeout. Not received [user_regular9k3vvx0203@test-domain.com:message:received:content_icsroc0206]

2022-07-07 22:33:20 | [Mutex] isItemNotified: user_regular9k3vvx0203@test-domain.com:message:received:content_icsroc0206 :: false

2022-07-07 22:33:20 |


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


2022-07-07 22:33:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-07 22:33:20 | command: <data><node>node_rab0wr0204</node><entry><content>content_d8f8oa0207</content></entry></data>

2022-07-07 22:33:20 | target: http://localhost:8088

2022-07-07 22:33:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-07 22:33:20 | entity: <data><node>node_rab0wr0204</node><entry><content>content_d8f8oa0207</content></entry></data>

2022-07-07 22:33:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:33:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-07 22:33:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>84b568d3-1325-406b-96df-94f77c93c115</value></item-id></result>

2022-07-07 22:33:20 | contains: true

2022-07-07 22:33:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-07 22:33:25 | [Mutex] waiting for: [user_regular9k3vvx0203@test-domain.com:message:received:content_d8f8oa0207]

2022-07-07 22:33:25 | [Mutex] received everything.

2022-07-07 22:33:25 | [Mutex] isItemNotified: user_regular9k3vvx0203@test-domain.com:message:received:content_d8f8oa0207 :: true

2022-07-07 22:33:25 |


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


2022-07-07 22:33:25 | [Mutex] received everything.

2022-07-07 22:33:25 | [Mutex] isItemNotified: node_rab0wr0204:subscribe_node:success :: true

2022-07-07 22:33:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-07 22:33:25 | command: <data><node>node_rab0wr0204</node><expire-at>2022-07-08T05:33:30Z</expire-at><entry><content>content_huvqny0208</content></entry></data>

2022-07-07 22:33:25 | target: http://localhost:8088

2022-07-07 22:33:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-07 22:33:25 | entity: <data><node>node_rab0wr0204</node><expire-at>2022-07-08T05:33:30Z</expire-at><entry><content>content_huvqny0208</content></entry></data>

2022-07-07 22:33:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:33:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-07 22:33:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e62025be-bb78-47a4-9ca0-667acd48bae3</value></item-id></result>

2022-07-07 22:33:25 | contains: true

2022-07-07 22:33:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-07 22:33:33 | [Mutex] waiting for: [user_regular9k3vvx0203@test-domain.com:message:received:content_huvqny0208]

2022-07-07 22:33:48 | [Mutex] timeout. Not received [user_regular9k3vvx0203@test-domain.com:message:received:content_huvqny0208]

2022-07-07 22:33:48 | [Mutex] received everything.

2022-07-07 22:33:48 | [Mutex] isItemNotified: user_regular9k3vvx0203@test-domain.com:message:received:content_huvqny0208 :: false

2022-07-07 22:33:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_huvqny0208 :: true