Generated by TestNG with ReportNG at 22:19 PDT on Friday 17 June 2022
root@1bc69cf4cb94 / 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.940s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.685s
2022-06-17 22:35:21 |

2022-06-17 22:35:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-17 22:35:21 | ------------------------------------

2022-06-17 22:35:21 | [Mutex] isItemNotified: node_ha4tim0204:exists :: false

2022-06-17 22:35:21 | [Mutex] waiting for: [node_ha4tim0204:create_node]

2022-06-17 22:35:21 | [Mutex] waiting for: [node_ha4tim0204:create_node]

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

2022-06-17 22:35:21 | [Mutex] isItemNotified: node_ha4tim0204:create_node:success :: true

2022-06-17 22:35:21 | [Mutex] waiting for: [node_ha4tim0204:subscribe_node]

2022-06-17 22:35:21 | [Mutex] waiting for: [node_ha4tim0204:subscribe_node]

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

2022-06-17 22:35:21 | [Mutex] isItemNotified: node_ha4tim0204:subscribe_node:success :: true

2022-06-17 22:35:21 |


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


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

2022-06-17 22:35:21 | command: <data><node>node_ha4tim0204</node><entry><content>content_xe0y6g0205</content></entry></data>

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

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

2022-06-17 22:35:21 | entity: <data><node>node_ha4tim0204</node><entry><content>content_xe0y6g0205</content></entry></data>

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

2022-06-17 22:35:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d6b0ecae-5795-4420-bb0a-0367fd91d7fe</value></item-id></result>

2022-06-17 22:35:21 | contains: true

2022-06-17 22:35:21 | [Mutex] waiting for: [user_regularo16hyg0203@test-domain.com:message:received:content_xe0y6g0205]

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

2022-06-17 22:35:21 | [Mutex] isItemNotified: user_regularo16hyg0203@test-domain.com:message:received:content_xe0y6g0205 :: true

2022-06-17 22:35:21 |


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


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

2022-06-17 22:35:21 | command: <data><node>node_ha4tim0204</node><expire-at>2022-06-18T05:35:16Z</expire-at><entry><content>content_jfp6sb0206</content></entry></data>

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

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

2022-06-17 22:35:21 | entity: <data><node>node_ha4tim0204</node><expire-at>2022-06-18T05:35:16Z</expire-at><entry><content>content_jfp6sb0206</content></entry></data>

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

2022-06-17 22:35:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d9752e45-162e-4d79-9311-664dd344cf71</value></item-id></result>

2022-06-17 22:35:21 | contains: true

2022-06-17 22:35:21 | [Mutex] waiting for: [user_regularo16hyg0203@test-domain.com:message:received:content_jfp6sb0206]

2022-06-17 22:35:36 | [Mutex] timeout. Not received [user_regularo16hyg0203@test-domain.com:message:received:content_jfp6sb0206]

2022-06-17 22:35:36 | [Mutex] isItemNotified: user_regularo16hyg0203@test-domain.com:message:received:content_jfp6sb0206 :: false

2022-06-17 22:35:36 |


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


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

2022-06-17 22:35:36 | command: <data><node>node_ha4tim0204</node><entry><content>content_j947sw0207</content></entry></data>

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

2022-06-17 22:35:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-17 22:35:36 | entity: <data><node>node_ha4tim0204</node><entry><content>content_j947sw0207</content></entry></data>

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

2022-06-17 22:35:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2a794f7d-fbad-4eda-b437-aa26a0f96899</value></item-id></result>

2022-06-17 22:35:36 | contains: true

2022-06-17 22:35:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-17 22:35:41 | [Mutex] waiting for: [user_regularo16hyg0203@test-domain.com:message:received:content_j947sw0207]

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

2022-06-17 22:35:41 | [Mutex] isItemNotified: user_regularo16hyg0203@test-domain.com:message:received:content_j947sw0207 :: true

2022-06-17 22:35:41 |


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


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

2022-06-17 22:35:41 | [Mutex] isItemNotified: node_ha4tim0204:subscribe_node:success :: true

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

2022-06-17 22:35:41 | command: <data><node>node_ha4tim0204</node><expire-at>2022-06-18T05:35:46Z</expire-at><entry><content>content_qs3dkg0208</content></entry></data>

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

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

2022-06-17 22:35:41 | entity: <data><node>node_ha4tim0204</node><expire-at>2022-06-18T05:35:46Z</expire-at><entry><content>content_qs3dkg0208</content></entry></data>

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

2022-06-17 22:35:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>890e9d6e-be8b-4900-95d7-34da6bcb47ff</value></item-id></result>

2022-06-17 22:35:41 | contains: true

2022-06-17 22:35:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-17 22:35:49 | [Mutex] waiting for: [user_regularo16hyg0203@test-domain.com:message:received:content_qs3dkg0208]

2022-06-17 22:35:49 | [Mutex] waiting for: [user_regularo16hyg0203@test-domain.com:message:received:content_qs3dkg0208]

2022-06-17 22:36:04 | [Mutex] timeout. Not received [user_regularo16hyg0203@test-domain.com:message:received:content_qs3dkg0208]

2022-06-17 22:36:04 | [Mutex] received everything.

2022-06-17 22:36:04 | [Mutex] isItemNotified: user_regularo16hyg0203@test-domain.com:message:received:content_qs3dkg0208 :: false

2022-06-17 22:36:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qs3dkg0208 :: true