Generated by TestNG with ReportNG at 22:48 PDT on Tuesday 30 August 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.594s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.645s
2022-08-30 23:03:39 |

2022-08-30 23:03:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-30 23:03:39 | ------------------------------------

2022-08-30 23:03:39 | [Mutex] isItemNotified: node_pmxcze0204:exists :: false

2022-08-30 23:03:39 | [Mutex] waiting for: [node_pmxcze0204:create_node]

2022-08-30 23:03:39 | [Mutex] received everything.

2022-08-30 23:03:39 | [Mutex] isItemNotified: node_pmxcze0204:create_node:success :: true

2022-08-30 23:03:39 | [Mutex] waiting for: [node_pmxcze0204:subscribe_node]

2022-08-30 23:03:39 | [Mutex] waiting for: [node_pmxcze0204:subscribe_node]

2022-08-30 23:03:39 | [Mutex] received everything.

2022-08-30 23:03:39 | [Mutex] isItemNotified: node_pmxcze0204:subscribe_node:success :: true

2022-08-30 23:03:39 |


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


2022-08-30 23:03:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-30 23:03:39 | command: <data><node>node_pmxcze0204</node><entry><content>content_evjngn0205</content></entry></data>

2022-08-30 23:03:39 | target: http://localhost:8088

2022-08-30 23:03:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-30 23:03:39 | entity: <data><node>node_pmxcze0204</node><entry><content>content_evjngn0205</content></entry></data>

2022-08-30 23:03:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 31 Aug 2022 06:03:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-30 23:03:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8ed7e076-e416-4662-94f2-8c2f236e51a1</value></item-id></result>

2022-08-30 23:03:39 | contains: true

2022-08-30 23:03:39 | [Mutex] waiting for: [user_regularciclox0203@test-domain.com:message:received:content_evjngn0205]

2022-08-30 23:03:39 | [Mutex] received everything.

2022-08-30 23:03:39 | [Mutex] isItemNotified: user_regularciclox0203@test-domain.com:message:received:content_evjngn0205 :: true

2022-08-30 23:03:39 |


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


2022-08-30 23:03:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-30 23:03:39 | command: <data><node>node_pmxcze0204</node><expire-at>2022-08-31T06:03:34Z</expire-at><entry><content>content_u2zrb30206</content></entry></data>

2022-08-30 23:03:39 | target: http://localhost:8088

2022-08-30 23:03:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-30 23:03:39 | entity: <data><node>node_pmxcze0204</node><expire-at>2022-08-31T06:03:34Z</expire-at><entry><content>content_u2zrb30206</content></entry></data>

2022-08-30 23:03:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 31 Aug 2022 06:03:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-30 23:03:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e49ffbb0-087f-43e4-82e8-cc3ebd66bd0b</value></item-id></result>

2022-08-30 23:03:39 | contains: true

2022-08-30 23:03:39 | [Mutex] waiting for: [user_regularciclox0203@test-domain.com:message:received:content_u2zrb30206]

2022-08-30 23:03:54 | [Mutex] timeout. Not received [user_regularciclox0203@test-domain.com:message:received:content_u2zrb30206]

2022-08-30 23:03:54 | [Mutex] isItemNotified: user_regularciclox0203@test-domain.com:message:received:content_u2zrb30206 :: false

2022-08-30 23:03:54 |


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


2022-08-30 23:03:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-30 23:03:54 | command: <data><node>node_pmxcze0204</node><entry><content>content_ho9y6a0207</content></entry></data>

2022-08-30 23:03:54 | target: http://localhost:8088

2022-08-30 23:03:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-30 23:03:54 | entity: <data><node>node_pmxcze0204</node><entry><content>content_ho9y6a0207</content></entry></data>

2022-08-30 23:03:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 31 Aug 2022 06:03:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-30 23:03:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8d8ebbc3-cf20-4971-b9af-987e2d2c9148</value></item-id></result>

2022-08-30 23:03:54 | contains: true

2022-08-30 23:03:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-30 23:03:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-30 23:03:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-30 23:03:59 | [Mutex] waiting for: [user_regularciclox0203@test-domain.com:message:received:content_ho9y6a0207]

2022-08-30 23:03:59 | [Mutex] received everything.

2022-08-30 23:03:59 | [Mutex] isItemNotified: user_regularciclox0203@test-domain.com:message:received:content_ho9y6a0207 :: true

2022-08-30 23:03:59 |


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


2022-08-30 23:03:59 | [Mutex] received everything.

2022-08-30 23:03:59 | [Mutex] isItemNotified: node_pmxcze0204:subscribe_node:success :: true

2022-08-30 23:03:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-30 23:03:59 | command: <data><node>node_pmxcze0204</node><expire-at>2022-08-31T06:04:04Z</expire-at><entry><content>content_96g8ab0208</content></entry></data>

2022-08-30 23:03:59 | target: http://localhost:8088

2022-08-30 23:03:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-30 23:03:59 | entity: <data><node>node_pmxcze0204</node><expire-at>2022-08-31T06:04:04Z</expire-at><entry><content>content_96g8ab0208</content></entry></data>

2022-08-30 23:03:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 31 Aug 2022 06:03:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-30 23:03:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5ea6b651-f51a-4f57-9479-6cfd71e18d36</value></item-id></result>

2022-08-30 23:03:59 | contains: true

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

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

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

2022-08-30 23:04:08 | [Mutex] waiting for: [user_regularciclox0203@test-domain.com:message:received:content_96g8ab0208]

2022-08-30 23:04:08 | [Mutex] waiting for: [user_regularciclox0203@test-domain.com:message:received:content_96g8ab0208]

2022-08-30 23:04:23 | [Mutex] timeout. Not received [user_regularciclox0203@test-domain.com:message:received:content_96g8ab0208]

2022-08-30 23:04:23 | [Mutex] received everything.

2022-08-30 23:04:23 | [Mutex] isItemNotified: user_regularciclox0203@test-domain.com:message:received:content_96g8ab0208 :: false

2022-08-30 23:04:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_96g8ab0208 :: true