it('should not POST a new analysis when the activity is not of type offline', function (done) {

            request.post('/api/offlinetraces/' + idActivity)
                .expect(400)
                .set('Accept', 'application/json')